diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-12-20 12:05:48 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-12-20 14:44:39 +1100 |
commit | 18c095e5d86d1353eff8aea1b641968d504b6c80 (patch) | |
tree | 6ce4f3558030d24fd7e3c7c1e2c148cbbea13874 /source4/libcli/smb_composite/fetchfile.c | |
parent | 6488afaafe028ad2deba03517294b577ea3b4167 (diff) | |
download | samba-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 'source4/libcli/smb_composite/fetchfile.c')
0 files changed, 0 insertions, 0 deletions