Skip to content

Commit

Permalink
MFH: r409615
Browse files Browse the repository at this point in the history
graphics/giflib: Update to 5.1.2

* Code hardening using reallocarray() from OpenBSD.

* Sanity check in giffilter catches files with malformed extension records
  Fixes SourceForge bug #63: malformed gif causes segfault in giffilter.

* Inexpensive sanity check in DGifSlurp() catches malformed files with
  no image descriptor. Fixes SourceForge bug #64: malformed gif causes
  crash in giftool.

* Fix SourceForge bug #66: GifDrawBoxedText8x8() modifying constant input
  parameter.

* Bail out of GIF read on invalid pixel width. Addresses Savannah bug
  #67: invalid shift in dgif_lib.c

* Fix SourceForge bug #69: #69 Malformed: Gif file with no extension
  block after a GRAPHICS_EXT_FUNC_CODE extension causes segfault (in
  giftext).

* Fix SourceForge bug #71: Buffer overwrite when giffixing a malformed gif.

* Fix SourceForge bug #73: Null pointer deference in gifclrmap (only
  reachable with malformed GIF).

* Fix SourceForge bug #74: Double free in gifsponge under 5.1,1,
  for any valid gif image.

* Fix SourceForge bug #75: GAGetArgs overflows due to uncounted use of va_arg.

* Sanity check in giffix catches some malformed files. Addresses
  SourceForge bug #77: dgif_lib.c: extension processing error

Security:	CVE-2015-7555
Approved by:	ports-secteam (with hat)
  • Loading branch information
feld committed Feb 26, 2016
1 parent 6c69140 commit 41389df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion graphics/giflib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= giflib
PORTVERSION= 5.1.1
PORTVERSION= 5.1.2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}

Expand Down
4 changes: 2 additions & 2 deletions graphics/giflib/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHA256 (giflib-5.1.1.tar.bz2) = 391014aceb21c8b489dc7b0d0b6a917c4e32cc014ce2426d47ca376d02fe2ffc
SIZE (giflib-5.1.1.tar.bz2) = 654389
SHA256 (giflib-5.1.2.tar.bz2) = 76c0a084c3b02f9315ff937b8be6096186002fea26f33e2123081ba2be6e2a7c
SIZE (giflib-5.1.2.tar.bz2) = 638967

0 comments on commit 41389df

Please sign in to comment.