Re: Bug in print.c



Thanks a lot for pointing me to that bug! I attach a patch against today's
cvs which should fix it. It just fakes a zero-length string if there is no
text buffer, leading to a single empty line in the printout.

Thanks again, 

	Albrecht.


Am 18.05.2001 03:29:01 schrieb(en) Peter Bloomfield:
> In print.c, pdata->textbuf can apparently be NULL, tirggering a `critical'
> problem in `print_wrap_string' and a segfault in `print_plain_text'--worth
> catching!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Albrecht Dreß  -  Monschauer Straße 22  -  D-53121 Bonn (Germany)
      Phone (+49) 228 6199571  -  E-Mail albrecht.dress@arcormail.de
_________________________________________________________________________

balsa-fix.20010518



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]