Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 129184 Details for
Bug 190248
[patch] dev-libs/libmix - exported pattern() function is broken, does strcmp with NULL (will always crash)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix sigsegv on pattern()
libmix-v2.05-fix-pattern.patch (text/plain), 415 bytes, created by
Israel G. Lugo
on 2007-08-25 23:00:35 UTC
(
hide
)
Description:
fix sigsegv on pattern()
Filename:
MIME Type:
Creator:
Israel G. Lugo
Created:
2007-08-25 23:00:35 UTC
Size:
415 bytes
patch
obsolete
>diff -durp libmix-v2.05/misc/misc.c libmix-v2.05-fix-pattern/misc/misc.c >--- libmix-v2.05/misc/misc.c 2002-05-19 09:51:23.000000000 +0100 >+++ libmix-v2.05-fix-pattern/misc/misc.c 2007-08-25 22:48:14.000000000 +0100 >@@ -209,7 +209,7 @@ pattern(char *data, char **list) > { > int i = 0; > >- while (strcmp(list[i++], NULL) != 0) >+ while (list[i++] != NULL) > if (strstr(data, list[i]) != NULL) > return 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 190248
: 129184