diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-10-08 21:01:37 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-10-08 21:01:37 +0000 |
commit | 22d29c3d11bdfec80164789a99c36cc674340914 (patch) | |
tree | e7161e572723f5eaace1d824ad2595e899d9732e /form.c | |
parent | Update ChangeLog (diff) | |
download | w3m-22d29c3d11bdfec80164789a99c36cc674340914.tar.gz w3m-22d29c3d11bdfec80164789a99c36cc674340914.zip |
Fix incorrect dereference in formUpdateBuffer when MENU_SELECT
cf. https://github.com/tats/w3m/commit/ec9eb22e008a69ea9dc21fdca4b9b836679965ee
Diffstat (limited to 'form.c')
-rw-r--r-- | form.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -461,9 +461,11 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form) } else #endif /* MENU_SELECT */ + { if (!form->value) break; p = form->value->ptr; + } l = buf->currentLine; if (!l) break; |