summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-07-30 22:06:08 +0000
committerjstebbins <[email protected]>2014-07-30 22:06:08 +0000
commit78ba19204309f958735b298eab542cc0b0a17e43 (patch)
tree550af55438e5b9d89b60ddfa2ce0d6621b848fa9
parentaa2e5b996b327930687ae8985c779c4a55770ea3 (diff)
libhb: fix potential seg fault in hb_hexdump
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6246 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/common.c1
1 files changed, 0 insertions, 1 deletions
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 );