qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] elf interpreter prefix scanning can get stuck in a loop
@ 2004-12-18 22:09 Lennert Buytenhek
  2004-12-20  5:23 ` Karl Magdsick
  0 siblings, 1 reply; 2+ messages in thread
From: Lennert Buytenhek @ 2004-12-18 22:09 UTC (permalink / raw)
  To: qemu-devel

Hi,

init_paths() seems to be able to get stuck in an 'infinite' loop.  For
example when encountering a '.' symlink:

open("/data/fc2/arm/root/usr/include/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/beecrypt/asm-generic", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 27

I'd suggest to always skip symlinks but that doesn't seem like the right
thing to do..


--L

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-20  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-18 22:09 [Qemu-devel] elf interpreter prefix scanning can get stuck in a loop Lennert Buytenhek
2004-12-20  5:23 ` Karl Magdsick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).