Commit 2b16948
committed
snmptrapd: Fix an integer overflow
Do not add one to the trap type if doing this would cause an integer overflow.
Fixes: https://issues.oss-fuzz.com/issues/4590292731 parent abbd671 commit 2b16948
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
1131 | 1134 | | |
1132 | 1135 | | |
1133 | 1136 | | |
| |||
0 commit comments