diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-08-04 02:58:55 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-08-04 03:17:06 +0000 |
commit | 8755644b5bafe05c3b0b2f61a5d1c6f52d5d9ec4 (patch) | |
tree | ebde71d1727f3a0cc5a603112204b25364a7ad05 /debian/patches/180_execdict.patch | |
parent | Update 130_siteconf.patch to fix segfault (closes: #718612) (diff) | |
download | w3m-8755644b5bafe05c3b0b2f61a5d1c6f52d5d9ec4.tar.gz w3m-8755644b5bafe05c3b0b2f61a5d1c6f52d5d9ec4.zip |
New patch 180_execdict.patch to fix potentially segfault
Diffstat (limited to '')
-rw-r--r-- | debian/patches/180_execdict.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/180_execdict.patch b/debian/patches/180_execdict.patch new file mode 100644 index 0000000..1d3b8d6 --- /dev/null +++ b/debian/patches/180_execdict.patch @@ -0,0 +1,14 @@ +Subject: Fix potentially segfault of execdict() +From: Tatsuya Kinoshita <tats@debian.org> + +--- a/main.c ++++ b/main.c +@@ -5604,7 +5604,7 @@ execdict(char *word) + disp_message("Execution failed", TRUE); + return; + } +- else { ++ else if (buf != NO_BUFFER) { + buf->filename = w; + buf->buffername = Sprintf("%s %s", DICTBUFFERNAME, word)->ptr; + if (buf->type == NULL) |