- Security fix for reading GIF images
Security: CVE-2007-5137
This commit is contained in:
parent
667a4d3d1a
commit
c17a1445d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281101
2 changed files with 12 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= tk
|
||||
PORTVERSION= 8.3.5
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= x11-toolkits tk
|
||||
MASTER_SITES= SF/tcl/Tcl/${PORTVERSION}
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}-src
|
||||
|
|
11
x11-toolkits/tk83/files/patch-tkImgGIF.c
Normal file
11
x11-toolkits/tk83/files/patch-tkImgGIF.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ../generic/tkImgGIF.c 2002-03-26 03:29:01.000000000 +0100
|
||||
+++ ../generic/tkImgGIF.new.c 2007-10-04 20:40:09.000000000 +0200
|
||||
@@ -960,7 +960,7 @@
|
||||
/* If interlacing, the next ypos is not just +1 */
|
||||
if (interlace) {
|
||||
ypos += interlaceStep[pass];
|
||||
- while (ypos >= height) {
|
||||
+ while (ypos >= rows) {
|
||||
pass++;
|
||||
if (pass > 3) {
|
||||
return TCL_OK;
|
Loading…
Reference in a new issue