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

Re: libc6 bug or stupid programmer



Jason Gunthorpe:
> Yes, "test" may be a constant string (in the code segment or read only
> data segment). strtok requires that the string be non const. So what might
> be happening is that it is attempting to write to the string and faulting.
> 
> Doubt that is your prob, but still ;>

That seems likely - strtok overwrites portions of the string. Thanks!

-- 
see shy jo


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: