FreeBSD Bugzilla – Attachment 18123 Details for
Bug 32686
[patch] locate(1) dumps a core file with broken database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
locate-coredump.diff
locate-coredump.diff (text/x-diff; charset=us-ascii), 541 bytes, created by
Jaakko Heinonen
on 2008-10-07 16:37:17 UTC
(
hide
)
Description:
locate-coredump.diff
Filename:
MIME Type:
Creator:
Jaakko Heinonen
Created:
2008-10-07 16:37:17 UTC
Size:
541 bytes
patch
obsolete
>Category: locate(1) >PR: bin/32686 > >Index: fastfind.c >=================================================================== >RCS file: /home/ncvs/src/usr.bin/locate/locate/fastfind.c,v >retrieving revision 1.14 >diff -p -u -r1.14 fastfind.c >--- fastfind.c 7 Dec 2005 12:22:46 -0000 1.14 >+++ fastfind.c 18 Mar 2008 12:40:04 -0000 >@@ -216,6 +216,8 @@ fastfind > count += c - OFFSET; > } > >+ if (count < 0 || count > MAXPATHLEN) >+ errx(1, "corrupted database: %s", database); > /* overlay old path */ > p = path + count; > foundchar = p - 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32686
:
18122
| 18123