diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-01-12 15:18:07 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-13 19:25:52 +1100 |
commit | a7f49dcb527dd17877fcb8d5c3a9a6f550e0bba5 (patch) | |
tree | 0db86a4b895a3ec9bf168df6d385cc9544184dc6 /dns.h | |
parent | 905fe30fca82f38213763616d0d26eb6790bde33 (diff) |
upstream commit
apparently memcpy(x, NULL, 0) is undefined behaviour
according to C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls
when length==0; ok markus@
Diffstat (limited to 'dns.h')
0 files changed, 0 insertions, 0 deletions