diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-14 14:12:24 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-16 17:32:08 +0200 |
commit | 5b16dfdc6f02e2783315f7244dc19e0a280cf02b (patch) | |
tree | 73a6649f3887e2cbac0b214503407d538ac538ea /hwpfilter | |
parent | do not leak memory (diff) | |
download | core-5b16dfdc6f02e2783315f7244dc19e0a280cf02b.tar.gz core-5b16dfdc6f02e2783315f7244dc19e0a280cf02b.zip |
make_keyword expects the buffer size is >=256B
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpeq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpeq.cpp b/hwpfilter/source/hwpeq.cpp index 594cff42179a..b6bee869b44e 100644 --- a/hwpfilter/source/hwpeq.cpp +++ b/hwpfilter/source/hwpeq.cpp @@ -669,7 +669,7 @@ static bool eq_sentence(MzString& outs, istream *strm, const char *end) static char eq2ltxconv(MzString& sstr, istream *strm, const char *sentinel) { MzString white, token; - char key[20]; + char key[256]; int ch, result; hwpeq *eq = 0; |