]> gitweb.ps.run Git - ps-cgit/commitdiff
shared.c: avoid SEGFAULT when checking for binary buffers
authorLars Hjemli <hjemli@gmail.com>
Sun, 1 Feb 2009 18:29:24 +0000 (19:29 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 1 Feb 2009 18:29:24 +0000 (19:29 +0100)
Before calling buffer_is_binary() we need to verify that the buffer
is valid.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

No differences found