4aa1608a | 11-May-2016 |
Conrad Meyer <cem@FreeBSD.org> |
bsnmpd: Fix size of trapsink::comm to match other community arrays
This fixes a number of possible strcpy() buffer overruns between the various community strings in trap.c.
Reported by: Coverity CI
bsnmpd: Fix size of trapsink::comm to match other community arrays
This fixes a number of possible strcpy() buffer overruns between the various community strings in trap.c.
Reported by: Coverity CIDs: 1006820, 1006821, 1006822 Sponsored by: EMC / Isilon Storage Division
show more ...
|
1422b66c | 22-Apr-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Simplify always evaluated branch (`e != NULL`)
- xalloc(..) ensures that e will be non-null via malloc + err. - `e` is already dereferenced above, so logically it's impossible to hit the lower tes
Simplify always evaluated branch (`e != NULL`)
- xalloc(..) ensures that e will be non-null via malloc + err. - `e` is already dereferenced above, so logically it's impossible to hit the lower test without crashing if it was indeed NULL.
MFC after: 3 days CID: 1007408 Reported by: Coverity Sponsored by: EMC / Isilon Storage Division
show more ...
|