summaryrefslogtreecommitdiff
path: root/lib/util/system.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-12-20 12:05:48 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-12-20 14:44:39 +1100
commit18c095e5d86d1353eff8aea1b641968d504b6c80 (patch)
tree6ce4f3558030d24fd7e3c7c1e2c148cbbea13874 /lib/util/system.c
parent6488afaafe028ad2deba03517294b577ea3b4167 (diff)
downloadsamba-18c095e5d86d1353eff8aea1b641968d504b6c80.tar.gz
samba-18c095e5d86d1353eff8aea1b641968d504b6c80.tar.bz2
samba-18c095e5d86d1353eff8aea1b641968d504b6c80.zip
Don't trust sscanf not to run off the end of the string
The memory allocations here are wasteful, but they do nicely ensure we cannot walk off the end of the DATA_BLOB that might be a string, or might be binary and might not be NULL terminated. Andrew Bartlett
Diffstat (limited to 'lib/util/system.c')
0 files changed, 0 insertions, 0 deletions