From: Lars Hjemli Date: Sun, 1 Feb 2009 18:29:24 +0000 (+0100) Subject: shared.c: avoid SEGFAULT when checking for binary buffers X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/481ce5e298e2dcd7edc1d4a30e523dda2ce58b01?ds=inline;hp=481ce5e298e2dcd7edc1d4a30e523dda2ce58b01 shared.c: avoid SEGFAULT when checking for binary buffers Before calling buffer_is_binary() we need to verify that the buffer is valid. Signed-off-by: Lars Hjemli ---