From 78ba19204309f958735b298eab542cc0b0a17e43 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 30 Jul 2014 22:06:08 +0000 Subject: libhb: fix potential seg fault in hb_hexdump git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6246 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libhb/common.c') diff --git a/libhb/common.c b/libhb/common.c index 7c4a97eca..7015ae17a 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -4363,7 +4363,6 @@ void hb_hexdump( hb_debug_level_t level, const char * label, const uint8_t * dat else ascii[(ii & 0x0f) + 1] = '.'; } - ascii[ii] = 0; if( p != line ) { hb_deep_log( level, " %-50s%20s", line, ascii ); -- cgit v1.2.3