summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_image/SDL_image-IMG_lbm.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-06 04:59:46 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-06 04:59:46 (GMT)
commitd55995f590d34a5db2a9671750b6bfbc79544652 (patch)
tree94bb19005b455a4c3e6388bfc9eaee4e63eee789 /abs/extra/sdl_image/SDL_image-IMG_lbm.patch
parent5b37c394102e30e4751fd925dae8c299bc4432df (diff)
downloadlinhes_pkgbuild-d55995f590d34a5db2a9671750b6bfbc79544652.zip
linhes_pkgbuild-d55995f590d34a5db2a9671750b6bfbc79544652.tar.gz
linhes_pkgbuild-d55995f590d34a5db2a9671750b6bfbc79544652.tar.bz2
sdl_image: Bump to latest.
Diffstat (limited to 'abs/extra/sdl_image/SDL_image-IMG_lbm.patch')
-rw-r--r--abs/extra/sdl_image/SDL_image-IMG_lbm.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/abs/extra/sdl_image/SDL_image-IMG_lbm.patch b/abs/extra/sdl_image/SDL_image-IMG_lbm.patch
deleted file mode 100644
index cc4a29b..0000000
--- a/abs/extra/sdl_image/SDL_image-IMG_lbm.patch
+++ /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;