Bug#346348: txt2pdbdoc core dump when compress chinese document

2006-01-08 Thread Xie Yanbo
On 1/8/06, Erik Schanze [EMAIL PROTECTED] wrote: Please provide some sample data for testing. (No private material!) A backtrace of gdb would also be nice, if you are able to do so. I got this backgrace running with attachment file `gbk.txt'. 0$ echo $LANG C 0$ export LANG=C 0$ ./txt2pdbdoc

Bug#346348: txt2pdbdoc core dump when compress chinese document

2006-01-07 Thread Xie Yanbo
Package: txt2pdbdoc Version: 1.4.4-4 Severity: normal Tags: patch *** Please type your report below this line *** txt2pdbdoc will core dump when compress chinese document. Function compress got bigger output then input data, so buffer overflowed. Double the compress data buffer size can fix this

Bug#346348: txt2pdbdoc core dump when compress chinese document

2006-01-07 Thread Xie Yanbo
On 1/8/06, Erik Schanze [EMAIL PROTECTED] wrote: I wonder how a chinese document as txt file looked like. I know ASCII and extended ASCII (e. g. for german umlauts). Are you talking about UTF8 coded txt file? The bug happened on my GBK document only. And I had tried on the same file with UTF-8