diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-08-04 02:54:23 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-08-04 02:54:23 +0000 |
commit | 0c6b7c5e06a88ae241bf366406101e367ff8daaa (patch) | |
tree | f8f7b7ea1805fe90028a931ebece9599e234c236 /main.c | |
parent | Merge from upstream on 2012-05-22 (diff) | |
download | w3m-0c6b7c5e06a88ae241bf366406101e367ff8daaa.tar.gz w3m-0c6b7c5e06a88ae241bf366406101e367ff8daaa.zip |
Fix potentially segfault of execdict()
Diffstat (limited to '')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |