(Identical to 159254 which I had in a messed up client) Fix an off-by-one in the zip filename reading code. It's pretty harmless, and caused by a fairly lousy minizip API. It could lead to an out-of-bounds read due to lack of null termination. No way to reliably test.
(Identical to 159254 which I had in a messed up client)
Fix an off-by-one in the zip filename reading code. It's pretty harmless, and
caused by a fairly lousy minizip API. It could lead to an out-of-bounds read
due to lack of null termination.
No way to reliably test.

BUG=NONE
TEST=NONE

Review URL: http://codereview.chromium.org/155984

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@21397 0039d316-1c4b-4281-b951-d872f2087c98

Chilledheart/chromium,ChromiumWebApps/chromium,axinging/chromium-crosswalk,jaruba/chromium.src,M4sse/chromium.src,markYoungH/chromium.src,chuan9/chromium-crosswalk,robclark/chromium,Jonekee/chromium.src,nacl-webkit/chrome_deps,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,Just-D/chromium-1,M4sse/chromium.src,dushu1203/chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,Fireblend/chromium-crosswalk,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,ondra-novak/chromium.src,axinging/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,zcbenz/cefode-chromium,littlstar/chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,zcbenz/cefode-chromium,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,markYoungH/chromium.src,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,robclark/chromium,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,robclark/chromium,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,robclark/chromium,Chilledheart/chromium,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,fujunwei/chromium-crosswalk,dushu1203/chromium.src,zcbenz/cefode-chromium,hujiajie/pa-chromium,timopulkkinen/BubbleFish,jaruba/chromium.src,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,keishi/chromium,jaruba/chromium.src,Jonekee/chromium.src,dednal/chromium.src,keishi/chromium,ltilve/chromium,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,axinging/chromium-crosswalk,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,Chilledheart/chromium,axinging/chromium-crosswalk,ChromiumWebApps/chromium,keishi/chromium,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,rogerwang/chromium,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,littlstar/chromium.src,M4sse/chromium.src,hujiajie/pa-chromium,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,M4sse/chromium.src,ondra-novak/chromium.src,rogerwang/chromium,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,crosswalk-project/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,dednal/chromium.src,mogoweb/chromium-crosswalk,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,hgl888/chromium-crosswalk,Just-D/chromium-1,robclark/chromium,anirudhSK/chromium,markYoungH/chromium.src,littlstar/chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,Chilledheart/chromium,ondra-novak/chromium.src,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,dednal/chromium.src,axinging/chromium-crosswalk,Jonekee/chromium.src,dednal/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk,keishi/chromium,mohamed--abdel-maksoud/chromium.src,rogerwang/chromium,pozdnyakov/chromium-crosswalk,keishi/chromium,ondra-novak/chromium.src,hujiajie/pa-chromium,robclark/chromium,Chilledheart/chromium,markYoungH/chromium.src,dednal/chromium.src,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ltilve/chromium,dushu1203/chromium.src,littlstar/chromium.src,krieger-od/nwjs_chromium.src,robclark/chromium,bright-sparks/chromium-spacewalk,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,dushu1203/chromium.src,jaruba/chromium.src,ChromiumWebApps/chromium,patrickm/chromium.src,anirudhSK/chromium,timopulkkinen/BubbleFish,rogerwang/chromium,keishi/chromium,robclark/chromium,patrickm/chromium.src,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,zcbenz/cefode-chromium,ltilve/chromium,patrickm/chromium.src,zcbenz/cefode-chromium,dednal/chromium.src,M4sse/chromium.src,keishi/chromium,ondra-novak/chromium.src,rogerwang/chromium,patrickm/chromium.src,Just-D/chromium-1,zcbenz/cefode-chromium,dushu1203/chromium.src,Just-D/chromium-1,Just-D/chromium-1,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk-efl,rogerwang/chromium,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,anirudhSK/chromium,bright-sparks/chromium-spacewalk,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,markYoungH/chromium.src,Jonekee/chromium.src,mogoweb/chromium-crosswalk,rogerwang/chromium,chuan9/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,robclark/chromium,dushu1203/chromium.src,keishi/chromium,patrickm/chromium.src,Fireblend/chromium-crosswalk,anirudhSK/chromium,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,Chilledheart/chromium,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk,ondra-novak/chromium.src,dushu1203/chromium.src,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,keishi/chromium,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,M4sse/chromium.src,keishi/chromium,dushu1203/chromium.src,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,fujunwei/chromium-crosswalk,keishi/chromium,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,dednal/chromium.src,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,markYoungH/chromium.src,ltilve/chromium,chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,rogerwang/chromium,Fireblend/chromium-crosswalk,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,jaruba/chromium.src,ltilve/chromium,hujiajie/pa-chromium,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,littlstar/chromium.src,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,anirudhSK/chromium,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,rogerwang/chromium,ltilve/chromium,Chilledheart/chromium,jaruba/chromium.src,zcbenz/cefode-chromium,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,patrickm/chromium.src,dushu1203/chromium.src,Just-D/chromium-1,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,ltilve/chromium,dednal/chromium.src,patrickm/chromium.src,dushu1203/chromium.src,ltilve/chromium,zcbenz/cefode-chromium,dednal/chromium.src,rogerwang/chromium,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,robclark/chromium,M4sse/chromium.src,timopulkkinen/BubbleFish,Just-D/chromium-1