]> git.pld-linux.org Git - packages/SDL_image.git/commitdiff
- no longer needed
authorlisu <lisu@pld-linux.org>
Mon, 8 Dec 2008 12:38:07 +0000 (12:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL_image-IMG_lbm.patch -> 1.2
    SDL_image-buffer-overflow.patch -> 1.2

SDL_image-IMG_lbm.patch [deleted file]
SDL_image-buffer-overflow.patch [deleted file]

diff --git a/SDL_image-IMG_lbm.patch b/SDL_image-IMG_lbm.patch
deleted file mode 100644 (file)
index cc4a29b..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- trunk/SDL_image/IMG_lbm.c  2007/07/20 04:37:11     3341
-+++ trunk/SDL_image/IMG_lbm.c  2008/01/03 20:05:34     3521
-@@ -28,6 +28,7 @@
-    EHB and HAM (specific Amiga graphic chip modes) support added by Marc Le Douarain
-    (http://www.multimania.com/mavati) in December 2003.
-    Stencil and colorkey fixes by David Raulo (david.raulo AT free DOT fr) in February 2004.
-+   Buffer overflow fix in RLE decompression by David Raulo in January 2008.
- */
- #include <stdio.h>
-@@ -328,7 +329,7 @@
-                                               count ^= 0xFF;
-                                               count += 2; /* now it */
--                                              if ( !SDL_RWread( src, &color, 1, 1 ) )
-+                                              if ( ( count > remainingbytes ) || !SDL_RWread( src, &color, 1, 1 ) )
-                                               {
-                                                  error="error reading BODY chunk";
-                                                       goto done;
-@@ -339,7 +340,7 @@
-                                       {
-                                               ++count;
--                                              if ( !SDL_RWread( src, ptr, count, 1 ) )
-+                                              if ( ( count > remainingbytes ) || !SDL_RWread( src, ptr, count, 1 ) )
-                                               {
-                                                  error="error reading BODY chunk";
-                                                       goto done;
diff --git a/SDL_image-buffer-overflow.patch b/SDL_image-buffer-overflow.patch
deleted file mode 100644 (file)
index 0be82dc..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- trunk/SDL_image/IMG_gif.c  2007/12/28 08:17:23     3461
-+++ trunk/SDL_image/IMG_gif.c  2007/12/28 16:43:56     3462
-@@ -418,6 +418,10 @@
-     static int stack[(1 << (MAX_LWZ_BITS)) * 2], *sp;
-     register int i;
-+    /* Fixed buffer overflow found by Michael Skladnikiewicz */
-+    if (input_code_size > MAX_LWZ_BITS)
-+        return -1;
-+
-     if (flag) {
-       set_code_size = input_code_size;
-       code_size = set_code_size + 1;
This page took 0.086776 seconds and 4 git commands to generate.