From 481ce5e298e2dcd7edc1d4a30e523dda2ce58b01 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 01 Feb 2009 18:29:24 +0000 Subject: 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 --- (limited to 'ui-plain.c') -- cgit v0.9.0.2