chiark / gitweb /
util: when unescaping strings, don't allow smuggling in of additional NUL bytes
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Jul 2014 11:42:25 +0000 (13:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Jul 2014 11:45:49 +0000 (13:45 +0200)
commite0a33e7ba619eb44f732aaf23cb249fa43d0ce8d
treedcd70f11ddc1382814ae10eb2f8586f3b637d5cf
parentfecc80c1ba2eed9dadb9a10c15508c356bcc5fc1
util: when unescaping strings, don't allow smuggling in of additional NUL bytes

Better safe than sorry.
src/shared/util.c
src/test/test-util.c