Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 102972 Details for
Bug 156573
app-text/evince bundles vulnerable gv?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch, based on the gv patch. for version 0.6.1
overflow.patch (text/plain), 703 bytes, created by
Stefan Cornelius (RETIRED)
on 2006-11-29 03:33:44 UTC
(
hide
)
Description:
Proposed patch, based on the gv patch. for version 0.6.1
Filename:
MIME Type:
Creator:
Stefan Cornelius (RETIRED)
Created:
2006-11-29 03:33:44 UTC
Size:
703 bytes
patch
obsolete
>--- ps_orig.c 2006-01-07 00:03:44.000000000 +0100 >+++ ps.c 2006-11-29 13:19:36.000000000 +0100 >@@ -1232,7 +1232,9 @@ > quoted = 1; > line++; > while(*line && !(*line == ')' && level == 0)) { >- if(*line == '\\') { >+ if (cp - text >= PSLINELENGTH - 1) >+ break; >+ if(*line == '\\') { > if(*(line + 1) == 'n') { > *cp++ = '\n'; > line += 2; >@@ -1302,8 +1304,11 @@ > } > } > else { >- while(*line && !(*line == ' ' || *line == '\t' || *line == '\n')) >- *cp++ = *line++; >+ while(*line && !(*line == ' ' || *line == '\t' || *line == '\n')) { >+ if (cp - text >= PSLINELENGTH - 2) >+ break; >+ *cp++ = *line++; >+ } > } > *cp = '\0'; > if(next_char)
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 156573
:
102972