xditview '.' hangs

Krzysztof Żelechowski giecrilj at stegny.2a.pl
Mon Dec 6 06:52:28 PST 2010


Dnia poniedziałek, 6 grudnia 2010 o 14:47:02 Pat Kane napisał(a):
> Strace shows that  "xditview ." does:
>       open(".", O_RDONLY)               = 4
> followed by an infinite number of:
>       read(4, 0xb7576000, 4096)         = -1 EISDIR (Is a directory)
> 
> Looks broken.
> 

Looks like the programmer forgot to examine the return value.  Probably the most common bug in C.

Chris



More information about the xorg mailing list