Fix bug causing segmentation fault
Fix bug causing segmentation fault

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