Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d1562ca6
Commit
d1562ca6
authored
Feb 01, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SDL_image: backported a fixed version of thresh's patch [24741]
parent
b1285909
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
NEWS
NEWS
+1
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+2
-1
extras/contrib/src/Patches/SDL_image-CVE-2006-4484.patch
extras/contrib/src/Patches/SDL_image-CVE-2006-4484.patch
+13
-0
No files found.
NEWS
View file @
d1562ca6
...
...
@@ -12,6 +12,7 @@ Security updates:
--- FIXME: THE FOLLOWING ISSUES HAVE NOT BEEN FIXED YET ---
* Mozilla and ActiveX plugins (VideoLAN-0802, CVE-2007-6683)
* Real RTSP overflows (CVE-2008-0295, CVE-2008-0296)
* Fixed buffer overflow in the SDL_image library (CVE-2006-4484)
Audio filter:
* Fixed DTS to S/PDIF converter
...
...
extras/contrib/src/Makefile
View file @
d1562ca6
#***************************************************************************
# src/Makefile : Dearchive and compile all files necessary
# ***************************************************************************
# Copyright (C) 2003 - 200
7
the VideoLAN team
# Copyright (C) 2003 - 200
8
the VideoLAN team
# $Id$
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -1823,6 +1823,7 @@ SDL_image-$(SDL_IMAGE_VERSION).tar.gz:
SDL_image
:
SDL_image-$(SDL_IMAGE_VERSION).tar.gz
$(EXTRACT_GZ)
patch
-p
0 < Patches/SDL_image.patch
patch
-p0
< Patches/SDL_image-CVE-2006-4484.patch
.SDL_image
:
SDL_image .SDL .png .jpeg .tiff
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
--enable-tif
--disable-sdltest
CFLAGS
=
"
$(CFLAGS)
"
&&
make
&&
make
install
)
...
...
extras/contrib/src/Patches/SDL_image-CVE-2006-4484.patch
0 → 100644
View file @
d1562ca6
--- SDL_image/IMG_gif.orig.c 2008-02-01 11:58:19.000000000 +0100
+++ SDL_image/IMG_gif.c 2008-02-01 11:58:28.000000000 +0100
@@ -415,6 +415,10 @@
static int table[2][(1 << MAX_LWZ_BITS)];
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;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment