index: fix potential overflow
index: fix potential overflow

mode field of git_index_entry_unmerged is array of unsigned ints. It's
unsafe to cast pointer to an element of the array to long int *. It may
cause overflow in git_strtol32().

Signed-off-by: Kirill A. Shutemov <9b153e80bc985b32d577460a8a24e398d4182978@shutemov.name>

jamieleecool/ptest,stewid/libgit2,evhan/libgit2,KTXSoftware/libgit2,joshtriplett/libgit2,rcorre/libgit2,oaastest/libgit2,MrHacky/libgit2,amyvmiwei/libgit2,kissthink/libgit2,MrHacky/libgit2,swisspol/DEMO-libgit2,swisspol/DEMO-libgit2,JIghtuse/libgit2,linquize/libgit2,Snazz2001/libgit2,falqas/libgit2,magnus98/TEST,linquize/libgit2,maxiaoqian/libgit2,MrHacky/libgit2,Corillian/libgit2,jeffhostetler/public_libgit2,mrksrm/Mingijura,evhan/libgit2,spraints/libgit2,magnus98/TEST,t0xicCode/libgit2,dleehr/libgit2,mingyaaaa/libgit2,zodiac/libgit2.js,saurabhsuniljain/libgit2,jeffhostetler/public_libgit2,yongthecoder/libgit2,Corillian/libgit2,JIghtuse/libgit2,sygool/libgit2,swisspol/DEMO-libgit2,iankronquist/libgit2,mcanthony/libgit2,linquize/libgit2,mingyaaaa/libgit2,sim0629/libgit2,saurabhsuniljain/libgit2,jamieleecool/ptest,jflesch/libgit2-mariadb,Corillian/libgit2,stewid/libgit2,mrksrm/Mingijura,mingyaaaa/libgit2,Snazz2001/libgit2,kissthink/libgit2,Tousiph/Demo1,leoyanggit/libgit2,KTXSoftware/libgit2,kenprice/libgit2,magnus98/TEST,Tousiph/Demo1,yongthecoder/libgit2,jeffhostetler/public_libgit2,MrHacky/libgit2,spraints/libgit2,JIghtuse/libgit2,leoyanggit/libgit2,linquize/libgit2,jamieleecool/ptest,swisspol/DEMO-libgit2,mrksrm/Mingijura,jamieleecool/ptest,falqas/libgit2,mingyaaaa/libgit2,yongthecoder/libgit2,since2014/libgit2,whoisj/libgit2,t0xicCode/libgit2,amyvmiwei/libgit2,Tousiph/Demo1,maxiaoqian/libgit2,oaastest/libgit2,skabel/manguse,spraints/libgit2,whoisj/libgit2,mrksrm/Mingijura,nokiddin/libgit2,saurabhsuniljain/libgit2,sim0629/libgit2,saurabhsuniljain/libgit2,leoyanggit/libgit2,skabel/manguse,chiayolin/libgit2,kenprice/libgit2,Snazz2001/libgit2,joshtriplett/libgit2,Aorjoa/libgit2_maked_lib,raybrad/libit2,jeffhostetler/public_libgit2,swisspol/DEMO-libgit2,t0xicCode/libgit2,jflesch/libgit2-mariadb,ardumont/libgit2,mcanthony/libgit2,whoisj/libgit2,raybrad/libit2,Corillian/libgit2,evhan/libgit2,nacho/libgit2,claudelee/libgit2,amyvmiwei/libgit2,yongthecoder/libgit2,mcanthony/libgit2,ardumont/libgit2,amyvmiwei/libgit2,zodiac/libgit2.js,yosefhackmon/libgit2,mhp/libgit2,mhp/libgit2,sim0629/libgit2,chiayolin/libgit2,leoyanggit/libgit2,Snazz2001/libgit2,stewid/libgit2,leoyanggit/libgit2,kissthink/libgit2,ardumont/libgit2,mhp/libgit2,oaastest/libgit2,jflesch/libgit2-mariadb,spraints/libgit2,JIghtuse/libgit2,chiayolin/libgit2,iankronquist/libgit2,ardumont/libgit2,kissthink/libgit2,raybrad/libit2,claudelee/libgit2,Corillian/libgit2,jflesch/libgit2-mariadb,since2014/libgit2,yosefhackmon/libgit2,raybrad/libit2,sygool/libgit2,swisspol/DEMO-libgit2,sim0629/libgit2,yosefhackmon/libgit2,t0xicCode/libgit2,iankronquist/libgit2,oaastest/libgit2,falqas/libgit2,whoisj/libgit2,ardumont/libgit2,kenprice/libgit2,kenprice/libgit2,linquize/libgit2,spraints/libgit2,skabel/manguse,dleehr/libgit2,JIghtuse/libgit2,mrksrm/Mingijura,magnus98/TEST,kissthink/libgit2,KTXSoftware/libgit2,stewid/libgit2,dleehr/libgit2,leoyanggit/libgit2,skabel/manguse,jflesch/libgit2-mariadb,claudelee/libgit2,rcorre/libgit2,mcanthony/libgit2,nokiddin/libgit2,mcanthony/libgit2,rcorre/libgit2,yongthecoder/libgit2,sim0629/libgit2,claudelee/libgit2,nacho/libgit2,magnus98/TEST,raybrad/libit2,Aorjoa/libgit2_maked_lib,skabel/manguse,dleehr/libgit2,t0xicCode/libgit2,sygool/libgit2,zodiac/libgit2.js,Aorjoa/libgit2_maked_lib,Corillian/libgit2,maxiaoqian/libgit2,mingyaaaa/libgit2,sim0629/libgit2,maxiaoqian/libgit2,joshtriplett/libgit2,falqas/libgit2,mhp/libgit2,rcorre/libgit2,mcanthony/libgit2,dleehr/libgit2,mhp/libgit2,sygool/libgit2,amyvmiwei/libgit2,maxiaoqian/libgit2,zodiac/libgit2.js,falqas/libgit2,nokiddin/libgit2,magnus98/TEST,spraints/libgit2,since2014/libgit2,chiayolin/libgit2,nacho/libgit2,kenprice/libgit2,Aorjoa/libgit2_maked_lib,evhan/libgit2,kenprice/libgit2,iankronquist/libgit2,mrksrm/Mingijura,chiayolin/libgit2,rcorre/libgit2,jeffhostetler/public_libgit2,claudelee/libgit2,nokiddin/libgit2,joshtriplett/libgit2,amyvmiwei/libgit2,jeffhostetler/public_libgit2,yosefhackmon/libgit2,ardumont/libgit2,since2014/libgit2,stewid/libgit2,JIghtuse/libgit2,dleehr/libgit2,saurabhsuniljain/libgit2,jflesch/libgit2-mariadb,MrHacky/libgit2,whoisj/libgit2,MrHacky/libgit2,Snazz2001/libgit2,mhp/libgit2,saurabhsuniljain/libgit2,sygool/libgit2,maxiaoqian/libgit2,rcorre/libgit2,mingyaaaa/libgit2,nacho/libgit2,since2014/libgit2,nokiddin/libgit2,stewid/libgit2,sygool/libgit2,yosefhackmon/libgit2,KTXSoftware/libgit2,kissthink/libgit2,KTXSoftware/libgit2,Tousiph/Demo1,Tousiph/Demo1,whoisj/libgit2,claudelee/libgit2,falqas/libgit2,linquize/libgit2,Snazz2001/libgit2,iankronquist/libgit2,nokiddin/libgit2,skabel/manguse,chiayolin/libgit2,iankronquist/libgit2,Aorjoa/libgit2_maked_lib,oaastest/libgit2,joshtriplett/libgit2,yosefhackmon/libgit2,t0xicCode/libgit2,yongthecoder/libgit2,since2014/libgit2,oaastest/libgit2,zodiac/libgit2.js,Tousiph/Demo1,KTXSoftware/libgit2,joshtriplett/libgit2