basic: remove an assertion from cunescape_one
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 16 Nov 2018 06:05:29 +0000 (07:05 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Fri, 16 Nov 2018 07:45:16 +0000 (08:45 +0100)
commit8dc4de966ce6d32470aaff30ed054f6a2688d6d7
tree2c91a5c1868944c02a6c613ec6340666d5be340f
parent8857fb9beb9dcb95a6ce1be14dc94c4dc4cd3ea3
basic: remove an assertion from cunescape_one

The function takes a pointer to a random block of memory and
the length of that block. It shouldn't crash every time it sees
a zero byte at the beginning there.

This should help the dev-kmsg fuzzer to keep going.
src/basic/escape.c