Bug#346348: Fwd: Bug#346348: txt2pdbdoc core dump when compress chinese document

2006-01-19 Thread Erik Schanze
Hi Paul, Paul J. Lucas "Paul J. Lucas" <[EMAIL PROTECTED]>: > I'm not the original author of the code, so I don't understand > the compression algorithm very well, so I'm not inclined to make > a hack fix without knowing the real problem. > I think put_byte() in txt2pdbdoc.c is p

Bug#346348: Fwd: Bug#346348: txt2pdbdoc core dump when compress chinese document

2006-01-18 Thread Paul J. Lucas
i/gbk.txt?bug=346348;msg=20;att=1 > > Thank you in advance. > > ------ Forwarded Message ------ > > Subject: Bug#346348: txt2pdbdoc core dump when compress chinese document > Date: Sonntag, 8. Januar 2006 09:06 > From: Xie Yanbo <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] >

Bug#346348: Fwd: Bug#346348: txt2pdbdoc core dump when compress chinese document

2006-01-18 Thread Erik Schanze
test file: http://bugs.debian.org/cgi-bin/bugreport.cgi/gbk.txt?bug=346348;msg=20;att=1 Thank you in advance. -- Forwarded Message -- Subject: Bug#346348: txt2pdbdoc core dump when compress chinese document Date: Sonntag, 8. Januar 2006 09:06 From: Xie Yanbo <[EMAIL PROTECTED]&

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
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 U

Bug#346348: txt2pdbdoc core dump when compress chinese document

2006-01-07 Thread Erik Schanze
Hi Xie, Xie Yanbo Xie Yanbo <[EMAIL PROTECTED]>: > 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 buffe

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 b