Fix integer wrap-around bug causing segmentation fault
Fix integer wrap-around bug causing segmentation fault

mgoffin/yara,cblichmann/yara,VirusTotal/yara,smaudet/yara,plusvic/yara,tdr130/yara,cblichmann/yara,bmagistro/yara,hillu/yara,plusvic/yara,VirusTotal/yara,jpypi/yara,neatsun/yara,pombredanne/yara,binsrc/yara,binsrc/yara,kallanreed/yara,mgoffin/yara,rayyang2000/yara,rednaga/yara,cblichmann/yara,bmagistro/yara,jpypi/yara,pombredanne/yara,smaudet/yara,mgoffin/yara,foreni-packages/yara,beikezcs/yara,hillu/yara,smaudet/yara,kallanreed/yara,VirusTotal/yara,MeteorAdminz/yara,cblichmann/yara,pombredanne/yara,smaudet/yara,0x0mar/yara,neatsun/yara,frbapolkosnik/yara,digideskio/yara,0x0mar/yara,digideskio/yara,msuvajac/yara,binsrc/yara,Security513/yara,jshufelt/yara,rednaga/yara,tdr130/yara,Security513/yara,VirusTotal/yara,pombredanne/yara,frbapolkosnik/yara,wxsBSD/yara,frbapolkosnik/yara,frbapolkosnik/yara,msuvajac/yara,cblichmann/yara,0x0mar/yara,rednaga/yara,plusvic/yara,tanium/yara,msuvajac/yara,hillu/yara,pombredanne/yara,binsrc/yara,foreni-packages/yara,beikezcs/yara,plusvic/yara,jshufelt/yara,wxsBSD/yara,kallanreed/yara,hillu/yara,bmagistro/yara,jpypi/yara,Security513/yara,wxsBSD/yara,tdr130/yara,digideskio/yara,wxsBSD/yara,hillu/yara,neatsun/yara,mgoffin/yara,foreni-packages/yara,beikezcs/yara,tanium/yara,0x0mar/yara,rayyang2000/yara,MeteorAdminz/yara,jshufelt/yara,jshufelt/yara,tanium/yara,wxsBSD/yara,plusvic/yara,MeteorAdminz/yara,VirusTotal/yara,rayyang2000/yara,digideskio/yara