diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-12-07 04:46:14 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-12-07 04:46:14 +0000 |
commit | 01afabd01f10996634430a20ddbf698cb45749ab (patch) | |
tree | 7e8f63f212fe0c31f41608ad517c49ec3d56d284 /debian/patches/290_closedir.patch | |
parent | New patch 280_search-next.patch to fix crash after SEARCH_NEXT (diff) | |
download | w3m-01afabd01f10996634430a20ddbf698cb45749ab.tar.gz w3m-01afabd01f10996634430a20ddbf698cb45749ab.zip |
New patch 290_closedir.patch to fix a directory descriptor leak
Diffstat (limited to 'debian/patches/290_closedir.patch')
-rw-r--r-- | debian/patches/290_closedir.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/290_closedir.patch b/debian/patches/290_closedir.patch new file mode 100644 index 0000000..04fafdf --- /dev/null +++ b/debian/patches/290_closedir.patch @@ -0,0 +1,19 @@ +Subject: Fix a directory descriptor leak in loadLocalDir +Author: Reinhard Max <max@suse.de> +Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-closedir.patch +Bug-Novell: https://bugzilla.novell.com/show_bug.cgi?id=531675 + + Mon Sep 7 16:49:56 CEST 2009 - max@suse.de + - Added w3m-closedir.patch to fix a directory descriptor leak in + loadLocalDir (bnc#531675). + +--- w3m.orig/local.c ++++ w3m/local.c +@@ -109,6 +109,7 @@ loadLocalDir(char *dname) + n++; + } + } ++ closedir(d); + + if (multicolList) { + l = COLS / (maxlen + 2); |