summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_socket.c
diff options
context:
space:
mode:
authorghelmer <ghelmer@FreeBSD.org>2000-04-28 15:31:28 +0000
committerghelmer <ghelmer@FreeBSD.org>2000-04-28 15:31:28 +0000
commit5869eff8901701f3215b4a78477cc57e21f16416 (patch)
tree456b0ef2c04594f53600bf8d6955aefa0bd3cf53 /sys/netgraph/ng_socket.c
parent68665ff50512fd9baa5bc783a90faac11670b0dd (diff)
downloadFreeBSD-src-5869eff8901701f3215b4a78477cc57e21f16416.zip
FreeBSD-src-5869eff8901701f3215b4a78477cc57e21f16416.tar.gz
Fix a situation where a pointer which should point to dynamically
allocated memory was instead pointed to a static string. A later free() on the value of the pointer was a possible source of reported "warning: pointer to wrong page" messages from cron. Use consistent types in sizeof when malloc'ing memory for the environment. PR: kern/12248, bin/11169, bin/9722
Diffstat (limited to 'sys/netgraph/ng_socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud