Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 147210 Details for
Bug 226965
Buffer overflow in libjpeg's wrjpgcom
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Path that fixes buffer overlow in libjpeg's wrjpgcom during excessive mooes
libjpeg-6b-moo.patch (text/plain), 846 bytes, created by
Lubomir Kundrak
on 2007-02-02 11:05:04 UTC
(
hide
)
Description:
Path that fixes buffer overlow in libjpeg's wrjpgcom during excessive mooes
Filename:
MIME Type:
Creator:
Lubomir Kundrak
Created:
2007-02-02 11:05:04 UTC
Size:
846 bytes
patch
obsolete
>Make lkundrak's cow happy, even though it's just a JPEG image. >This fixes #226965 > >diff -rup jpeg-6b.orig/wrjpgcom.c jpeg-6b/wrjpgcom.c >--- jpeg-6b.orig/wrjpgcom.c 2007-02-02 11:32:13.000000000 +0100 >+++ jpeg-6b/wrjpgcom.c 2007-02-02 11:48:01.000000000 +0100 >@@ -446,6 +446,8 @@ main (int argc, char **argv) > } else if (keymatch(arg, "comment", 1)) { > if (++argn >= argc) usage(); > comment_arg = argv[argn]; >+#if 0 >+#error "There is a buffer overflow in the code below" > /* If the comment text starts with '"', then we are probably running > * under MS-DOG and must parse out the quoted string ourselves. Sigh. > */ >@@ -466,6 +468,7 @@ main (int argc, char **argv) > strcat(comment_arg, argv[argn]); > } > } >+#endif > comment_length = (unsigned int) strlen(comment_arg); > } else > usage();
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 226965
: 147210