diff options
author | tron <tron> | 2009-03-03 19:57:53 +0000 |
---|---|---|
committer | tron <tron> | 2009-03-03 19:57:53 +0000 |
commit | 3974c27f51cc0c15eef2868b7168d04dffd97d9d (patch) | |
tree | 8e6547378ce263a6ce5dbd2cfe988145b6b97764 /graphics/optipng/patches/patch-ad | |
parent | dae2d9950aba0fd8ebab09a52cb013de1a8a8562 (diff) | |
download | pkgsrc-3974c27f51cc0c15eef2868b7168d04dffd97d9d.tar.gz |
Pullup ticket #2714 - requested by kefren
optipng: security patch
Revisions pulled up:
- graphics/optipng/Makefile 1.17
- graphics/optipng/distinfo 1.13
- graphics/optipng/patches/patch-ab 1.5
- graphics/optipng/patches/patch-ad 1.3
- graphics/optipng/patches/patch-ae 1.1
---
Module Name: pkgsrc
Committed By: kefren
Date: Mon Mar 2 06:20:34 UTC 2009
Modified Files:
pkgsrc/graphics/optipng: Makefile distinfo
Added Files:
pkgsrc/graphics/optipng/patches: patch-ab patch-ad patch-ae
Log Message:
Add patches from upstream in order to update to 0.6.2.1
Changes:
* Fix SA34035: Use after free error that can be used to execute arbitrary
code via a specially crafted GIF image
Diffstat (limited to 'graphics/optipng/patches/patch-ad')
-rw-r--r-- | graphics/optipng/patches/patch-ad | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/optipng/patches/patch-ad b/graphics/optipng/patches/patch-ad new file mode 100644 index 00000000000..283d9c733c0 --- /dev/null +++ b/graphics/optipng/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.2.24.1 2009/03/03 19:57:53 tron Exp $ +diff -ru optipng-0.6.2/src/optipng.c optipng-0.6.2.1/src/optipng.c +--- src/optipng.c 2008-11-09 23:56:00.000000000 -0500 ++++ src/optipng.c 2008-11-11 13:57:00.000000000 -0500 +@@ -542,6 +542,7 @@ + static void + app_init(void) + { ++ setvbuf(stdout, NULL, _IONBF, 0); + if (options.log_name != NULL) + { + /* Open the log file, line-buffered. */ |