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

Bug#21016: circular symlinks make libc6 segfaults



On Sun, Apr 12, 1998 at 02:33:04AM -0000, Russell Coker wrote:
> Package: man-db
> Version: 2.3.10-64
> 
>   When "mandb --create" is run from /etc/cron.weekly/man-db it dies with segv.
> 
> libc6	Version: 2.0.7pre1-4

Thank you for the report.
This has already been reported as #20426, which I reassigned to libc6 (after
some investigations).

The problem is triggered by a circular symlink that makes realpath(3) failing
allocation (after some endless loop).

Waiting for a corrected libc6, the only solution that I can see is to run

$ find `manpath | tr ':' ' '` -type l | xargs file | grep broken

which finds out _all_ broken symlinks you have on your system, one of which is
the circular symlink exploiting the bug.

Not that the rest is nice.
Does anyone know why we have so many broken symlinks?

Also running /usr/bin/realpath [ realpath(1) in package dwww ] on the
offending manpage helps somehow (it dumps core :-)


Cheers,
fab
-- 
| fpolacco@icenet.fi    fpolacco@debian.org    fpolacco@pluto.linux.it
| Líder Minimo del Pluto    -     Debian Developer & Happy Debian User
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E
> support the open-source initiative! http://www.opensource.org/


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: