emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#10953: closed (Potential logical bug in readtokens


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10953: closed (Potential logical bug in readtokens.c)
Date: Wed, 07 Mar 2012 19:59:02 +0000

Your message dated Wed, 07 Mar 2012 11:56:48 -0800
with message-id <address@hidden>
and subject line Re: bug#10953: Potential logical bug in readtokens.c
has caused the debbugs.gnu.org bug report #10953,
regarding Potential logical bug in readtokens.c
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10953: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10953
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Potential logical bug in readtokens.c Date: Tue, 06 Mar 2012 13:58:59 +0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
Hi,

I think I found a potential bug. But I am not sure about it. It looks
real from the code.

For coreutils 8.15, in file readtokens.c, function readtoken()

If delim is NULL, and saved_delim is not NULL, then the condition on
line 75 is not satisfied, but the condition on line 79 is satisfied.

In this case, there could be NULL pointer deference for delim[i] in line 84.


- Zhongxing Xu




--- End Message ---
--- Begin Message --- Subject: Re: bug#10953: Potential logical bug in readtokens.c Date: Wed, 07 Mar 2012 11:56:48 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1
On 03/07/2012 11:52 AM, Jim Meyering wrote:
> Here's a proposed readtokens test module:

I took a quick look, and it looks fine, thanks.

The bug's fixed now, so I'm marking it as 'done'.


--- End Message ---

reply via email to

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