FreeBSD Bugzilla – Attachment 18122 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), 515 bytes, created by
Jaakko Heinonen
on 2008-02-09 12:03:36 UTC
(
hide
)
Description:
locate-coredump.diff
Filename:
MIME Type:
Creator:
Jaakko Heinonen
Created:
2008-02-09 12:03:36 UTC
Size:
515 bytes
patch
obsolete
>Index: locate/fastfind.c >=================================================================== >RCS file: /home/ncvs/src/usr.bin/locate/locate/fastfind.c,v >retrieving revision 1.14 >diff -u -r1.14 fastfind.c >--- locate/fastfind.c 7 Dec 2005 12:22:46 -0000 1.14 >+++ locate/fastfind.c 9 Feb 2008 11:57:02 -0000 >@@ -216,6 +216,8 @@ > 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