ALT Linux Bugzilla
– Attachment 698 Details for
Bug 5905
CAN-2004-0981 (buffer overflow in the EXIF parsing routine)
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
CAN-2004-0981
imagemagick-6.0.6.2-debian-CAN-2004-0981.diff (text/plain), 624 bytes, created by
Michael Shigorin
on 2005-01-20 18:48:03 MSK
(
hide
)
Description:
CAN-2004-0981
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2005-01-20 18:48:03 MSK
Size:
624 bytes
patch
obsolete
>--- imagemagick-6.0.6.2.orig/magick/attribute.c >+++ imagemagick-6.0.6.2/magick/attribute.c >@@ -955,11 +955,11 @@ > } > if ((t == TAG_EXIF_OFFSET) || (t == TAG_INTEROP_OFFSET)) > { >- long >+ size_t > offset; > >- offset=(long) ReadUint32(msb_order,pval); >- if ((offset < (long) length) || (level < (DE_STACK_SIZE-2))) >+ offset=(size_t) ReadUint32(msb_order,pval); >+ if ((offset < length) && (level < (DE_STACK_SIZE-2))) > { > /* > Push our current directory state onto the stack.
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 5905
: 698