Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88391 Details for
Bug 135021
media-libs/tiff: tiff2pdf stack buffer overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for tiff2pdf buffer overflow
tiff-buffer.patch (text/plain), 461 bytes, created by
Steve Arnold
on 2006-06-04 18:43:00 UTC
(
hide
)
Description:
patch for tiff2pdf buffer overflow
Filename:
MIME Type:
Creator:
Steve Arnold
Created:
2006-06-04 18:43:00 UTC
Size:
461 bytes
patch
obsolete
>--- tools/tiff2pdf.c.orig 2006-06-04 18:26:40.000000000 -0700 >+++ tools/tiff2pdf.c 2006-06-04 18:27:22.000000000 -0700 >@@ -3668,7 +3668,7 @@ > written += TIFFWriteFile(output, (tdata_t) "(", 1); > for (i=0;i<len;i++){ > if((pdfstr[i]&0x80) || (pdfstr[i]==127) || (pdfstr[i]<32)){ >- sprintf(buffer, "\\%.3o", pdfstr[i]); >+ snprintf(buffer, "\\%.3o", pdfstr[i]); > written += TIFFWriteFile(output, (tdata_t) buffer, 4); > } else { > switch (pdfstr[i]){
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 135021
:
88391