Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36142 Details for
Bug 57886
mail-client/nmh 1.0.4 has buffer overrun on ill formatted email
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch2
p2 (text/plain), 524 bytes, created by
Tuan Van (RETIRED)
on 2004-07-25 12:54:02 UTC
(
hide
)
Description:
proposed patch2
Filename:
MIME Type:
Creator:
Tuan Van (RETIRED)
Created:
2004-07-25 12:54:02 UTC
Size:
524 bytes
patch
obsolete
>--- m_getfld.c~ 2000-01-26 16:35:43.000000000 -0500 >+++ m_getfld.c 2004-07-21 15:34:35.754140201 -0400 >@@ -726,17 +726,17 @@ > register char *ep = pat + patln; > register char pc = *pat++; > >- for(;;) { >- while (pc != *str++) >- if (str > es) >- return 0; >+ for(;str <= es; str++) { >+ if (pc != *str) >+ continue; > >- sp = str; pp = pat; >+ sp = str+1; pp = pat; > while (pp < ep && *sp++ == *pp) > pp++; > if (pp >= ep) >- return ((unsigned char *)--str); >+ return ((unsigned char *)str); > } >+ return 0; > }
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 57886
:
36141
| 36142 |
36219