diff options
author | Martin Willi <martin@revosec.ch> | 2014-06-02 12:52:32 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-06-04 16:34:16 +0200 |
commit | 74eedc8061fd2994be1ff3460c54f8cb65273b43 (patch) | |
tree | 2aafb87f22422720300a0c2d37da19b2ec298d71 /scripts/bin2sql.c | |
parent | 8a072fc50ac76af682e9fd0e21a31cf8411b9838 (diff) | |
download | strongswan-74eedc8061fd2994be1ff3460c54f8cb65273b43.tar.bz2 strongswan-74eedc8061fd2994be1ff3460c54f8cb65273b43.tar.xz |
unit-tests: Zero-initialize chunk to avoid free on non-successful fetch
If the fetch fails, the fetcher is not required to return an empty chunk. Avoid
the resulting invalid free() by initializing data.ptr to NULL.
Diffstat (limited to 'scripts/bin2sql.c')
0 files changed, 0 insertions, 0 deletions