[En-Nut-Discussion] Bug in unix_emulation

Matthias Ringwald mringwal at inf.ethz.ch
Fri Apr 15 10:16:47 CEST 2005


I didn't like bug reports dangling lonely on the mailing list.

Ole fixed the bug in CVS yesterday:

modified	olereinhardt
dev/unix_devs.c

Changed the delimiting of the nativeName into ip and port. Now first 
check if nativeName == "stdio". Otherwise strtok will segfault. 
Strange... Perhaps a problem with the static declaration of the option 
strings? I don't know. Very mysterious.

.. it looks like using strok on a constant string isn't good, even if 
this particular string doesn not have delimiters.
anyway. fixed.

matthias


On 14.04.2005, at 18:06, Ole Reinhardt wrote:

> Hi Matthias,
>
> I found a bug in the unix emulation. Not shure what invokes this bug.
>




More information about the En-Nut-Discussion mailing list