Description of problem:
I keep finding /proc/*/exe symlinks with trailing garbage on my box:
ultra:[~]$ cat readlink.c
int main(int argc, char *argv)
int i, j, n;
for (i = 1; i < argc; i++)
n = readlink(argv[i], buf, BUFSIZ);
for (j = 0; j < n; j++)
char c = buf[j];
if (c == '\\')
else if (c > 32 && c < 127)
ultra:[~]$ gcc readlink.c -o readlink
ultra:[~]$ ./readlink /proc/30781/exe
Version-Release number of selected component (if applicable):
It seems fairly random which processes will get garbled links, but once a
process has one it keeps it until it's killed as far as I can tell.
Steps to Reproduce:
1. Run the above program on /proc/*/exe
2. Look for junk
(This is a mass-update to all current FC6 kernel bugs in NEW state)
I'm reviewing this bug list as part of the kernel bug triage project, an attempt
to isolate current bugs in the Fedora kernel.
I am CC'ing myself to this bug, however this version of Fedora is no longer
Please attempt to reproduce this bug with a current version of Fedora (presently
Fedora 8). If the bug no longer exists, please close the bug or I'll do so in a
few days if there is no further information lodged.
Thanks for using Fedora!
Per the previous comment in this bug, I am closing it as INSUFFICIENT_DATA,
since no information has been lodged for over 30 days.
Please re-open this bug or file a new one if you can provide the requested data,
and thanks for filing the original report!