diff options
author | Kuang-che Wu <kcwu@google.com> | 2016-11-21 18:17:24 +0000 |
---|---|---|
committer | Kuang-che Wu <kcwu@google.com> | 2016-11-27 07:24:34 +0000 |
commit | 7e1c05dd90cf42a308e854881ea3813aed000d2e (patch) | |
tree | 74e80c1e3151778e6c937d57f092f7421e0cc300 | |
parent | Update ChangeLog (diff) | |
download | w3m-7e1c05dd90cf42a308e854881ea3813aed000d2e.tar.gz w3m-7e1c05dd90cf42a308e854881ea3813aed000d2e.zip |
fix menu buffer-overflow
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1741,7 +1741,7 @@ initMenu(void) FILE *mf; MenuList *list; - w3mMenuList = New_N(MenuList, 3); + w3mMenuList = New_N(MenuList, 4); w3mMenuList[0].id = "Main"; w3mMenuList[0].menu = &MainMenu; w3mMenuList[0].item = MainMenuItem; |