[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
dlopen.c bug
I looked in src/gnu/usr.bin/ld/rtld/rtld.c, and here's what I found:
/* asking for lookup? */
if (strncmp((char *)sodp->sod_name, "lib", 3) != 0)
return;
/* skip over 'lib' */
cp = (char *)sodp->sod_name + 3;
/* dot guardian */
if ((strchr(cp, '.') == NULL) || (*(cp+strlen(cp)-1) == '.'))
return;
Oh my. This may be the bug. I wonder why I'm the only one
who's noticed it?
--tom
- Follow-Ups from:
-
Tom Christiansen <tchrist@jhereg.perl.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]