summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-01-12 15:18:07 +0000
committerDamien Miller <djm@mindrot.org>2015-01-13 19:25:52 +1100
commita7f49dcb527dd17877fcb8d5c3a9a6f550e0bba5 (patch)
tree0db86a4b895a3ec9bf168df6d385cc9544184dc6 /key.c
parent905fe30fca82f38213763616d0d26eb6790bde33 (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 'key.c')
0 files changed, 0 insertions, 0 deletions