diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-01 23:09:42 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-01 23:09:42 +0200 |
commit | 780f5bf5b177f93c8fd9ebd7ff1a322885074c8c (patch) | |
tree | 093fb9cfebb5cdc0043db545d7e0fd96b4cb7ec0 /svtools | |
parent | 2b26a54ecb589a67ee199759936a1adce148671a (diff) |
Presumably the intent is to zero the whole pHexTable, not just the 1st element
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/ixbm/xbmread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/ixbm/xbmread.cxx b/svtools/source/filter/ixbm/xbmread.cxx index 6a8c2ee9db20..84a8b0237de9 100644 --- a/svtools/source/filter/ixbm/xbmread.cxx +++ b/svtools/source/filter/ixbm/xbmread.cxx @@ -65,7 +65,7 @@ XBMReader::~XBMReader() void XBMReader::InitTable() { - memset( pHexTable, 0, sizeof( short ) ); + memset( pHexTable, 0, sizeof( short ) * 256 ); pHexTable[(int)'0'] = 0; pHexTable[(int)'1'] = 1; |