summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Support/Unix/Program.inc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-04 15:45:51 +0000
committerngie <ngie@FreeBSD.org>2017-02-04 15:45:51 +0000
commit75f9b073cb56727e69db95f16adf961ad6435eda (patch)
treec9fe4dd4e001cbafe426952d41964adb51ecc131 /contrib/llvm/lib/Support/Unix/Program.inc
parentf7d6527d5e63dcd04bc164ad624322cf8266f860 (diff)
downloadFreeBSD-src-75f9b073cb56727e69db95f16adf961ad6435eda.zip
FreeBSD-src-75f9b073cb56727e69db95f16adf961ad6435eda.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 'contrib/llvm/lib/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud