diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-10-07 21:39:47 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-10-07 21:39:47 +0000 |
commit | ec9eb22e008a69ea9dc21fdca4b9b836679965ee (patch) | |
tree | 06cba54771489e775634a68b2029341fd257b695 | |
parent | Update ChangeLog (diff) | |
download | w3m-ec9eb22e008a69ea9dc21fdca4b9b836679965ee.tar.gz w3m-ec9eb22e008a69ea9dc21fdca4b9b836679965ee.zip |
Fix null pointer dereference in formUpdateBuffer
Bug-Debian: https://github.com/tats/w3m/issues/28
-rw-r--r-- | form.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -459,6 +459,8 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form) } else #endif /* MENU_SELECT */ + if (!form->value) + break; p = form->value->ptr; l = buf->currentLine; if (!l) |