bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] invalid archive provokes segfault


From: Jim Meyering
Subject: Re: [Bug-tar] invalid archive provokes segfault
Date: Thu, 31 Mar 2005 17:10:16 +0200

Helmut Waitzmann <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>>BTW, using `*p' and `p' as arguments to strtoul is odd.
>>Doesn't that rely on undefined behavior?  Sort of like
>>using memcpy with overlapping regions?
>
> I don't think so.
[...]

You're right.  Using strtoul like that *is* ok.
It's just not as readable as it could be.




reply via email to

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