bug-gnu-utils
[Top][All Lists]
Advanced

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

[Bug-gnu-utils] Bugfix patch for patch :)


From: Javier Kohen
Subject: [Bug-gnu-utils] Bugfix patch for patch :)
Date: Sat, 16 Sep 2000 11:43:20 -0400
User-agent: Mutt/1.2.5i

Hi!

I was applying the patch to upgrade XFree 4.0.0 to 4.0.1, but patch Seg Faulted.
I did some digging on the code and found that when using Plan A, sometimes, 
re_input() was being called without having previously invoked scan_input() to 
init the buffers. The result was it trying to free twice the same memory 
location.
The patch attached modifies re_input() so it doesn't free twice the same memory 
block. I did it this way instead of trying to change the whole logic in patch.c 
for simplicity reasons, but note that I don't know if a similar problem could 
affect Plan B.

-- 
Javier Kohen <address@hidden>
ICQ #2361802 [blashyrkh]
http://www.tough.com.ar/

Attachment: patch-2.5-jkohen.diff
Description: Text document

Attachment: pgp3m6s7QrxmF.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]