diff options
author | Kuang-che Wu <kcwu@google.com> | 2016-11-21 18:17:24 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2017-01-06 12:57:49 +0000 |
commit | fa83b932cb3d7bbd4a60ff1dcc9be27d8a86aa11 (patch) | |
tree | 67c76dc3900b43ef6e78064634dcfecf05858567 | |
parent | Prevent memory exhausted due to repeat appending "</table>" (diff) | |
download | w3m-fa83b932cb3d7bbd4a60ff1dcc9be27d8a86aa11.tar.gz w3m-fa83b932cb3d7bbd4a60ff1dcc9be27d8a86aa11.zip |
Fix menu buffer-overflow
Bug-Debian: https://github.com/tats/w3m/pull/49
Origin: https://github.com/tats/w3m/pull/49/commits/7e1c05dd90cf42a308e854881ea3813aed000d2e
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1692,7 +1692,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; |