diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-04 15:45:39 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-04 15:45:39 +0000 |
commit | 2b1b84b411c899c171f9d3fbdbd16f76b1007ddf (patch) | |
tree | 5468d5e441805c167474d6656119ee363ff89247 /.arcconfig | |
parent | dc202296d1079d0218c9188ad77a0e037cf12518 (diff) | |
download | FreeBSD-src-2b1b84b411c899c171f9d3fbdbd16f76b1007ddf.zip FreeBSD-src-2b1b84b411c899c171f9d3fbdbd16f76b1007ddf.tar.gz |
MFC r311263:
Use calloc instead of malloc with buffers in snmp_{recv,send}_packet
This doesn't fix the issue noted in the PR, but at the very least it
cleans up the error so it looks a bit more sane, and in the event
that bsnmp did wander off into the weeds, the likelihood of it
crashing with more sensible output is greater, in my opinion
MFC counter set high so I have enough time to resolve the real
underlying bug in bsnmpwalk
PR: 215721
Diffstat (limited to '.arcconfig')
0 files changed, 0 insertions, 0 deletions