Fix std::out_of_range exception with short filenames (Linux)
Fix std::out_of_range exception with short filenames (Linux)

An unsigned integer was being used while scanning the CLR path to locate assemblies. If a file existed in the directory with a name shorter than the longest extension being checked for (.ni.dll), then the variable would underflow and cause an exception when used as an index on the filename.

stormleoxia/coreclr,mskvortsov/coreclr,cydhaselton/coreclr,martinwoodward/coreclr,xtypebee/coreclr,shahid-pk/coreclr,JonHanna/coreclr,blackdwarf/coreclr,DickvdBrink/coreclr,James-Ko/coreclr,sagood/coreclr,ramarag/coreclr,ruben-ayrapetyan/coreclr,Dmitry-Me/coreclr,mmitche/coreclr,jakesays/coreclr,chaos7theory/coreclr,dasMulli/coreclr,mskvortsov/coreclr,blackdwarf/coreclr,dpodder/coreclr,sperling/coreclr,manu-silicon/coreclr,geertdoornbos/coreclr,bartonjs/coreclr,ericeil/coreclr,andschwa/coreclr,david-mitchell/coreclr,akoeplinger/coreclr,SlavaRa/coreclr,bitcrazed/coreclr,zmaruo/coreclr,hseok-oh/coreclr,bartonjs/coreclr,krixalis/coreclr,chenxizhang/coreclr,DickvdBrink/coreclr,ragmani/coreclr,wkchoy74/coreclr,libengu/coreclr,josteink/coreclr,Samana/coreclr,ganeshran/coreclr,hseok-oh/coreclr,chrishaly/coreclr,tijoytom/coreclr,KrzysztofCwalina/coreclr,taylorjonl/coreclr,manu-silicon/coreclr,serenabenny/coreclr,hanu412/coreclr,YongseopKim/coreclr,gitchomik/coreclr,kyulee1/coreclr,wateret/coreclr,krk/coreclr,swgillespie/coreclr,grokys/coreclr,vinnyrom/coreclr,chaos7theory/coreclr,AlfredoMS/coreclr,naamunds/coreclr,ragmani/coreclr,ramarag/coreclr,pgavlin/coreclr,bitcrazed/coreclr,ragmani/coreclr,benpye/coreclr,fernando-rodriguez/coreclr,Sridhar-MS/coreclr,kyulee1/coreclr,alexperovich/coreclr,chrishaly/coreclr,GuilhermeSa/coreclr,ericeil/coreclr,sagood/coreclr,manu-silicon/coreclr,yeaicc/coreclr,sergey-raevskiy/coreclr,Lucrecious/coreclr,fernando-rodriguez/coreclr,bartdesmet/coreclr,Djuffin/coreclr,mmitche/coreclr,chaos7theory/coreclr,xtypebee/coreclr,libengu/coreclr,ganeshran/coreclr,russellhadley/coreclr,manu-silicon/coreclr,AlexGhiondea/coreclr,MCGPPeters/coreclr,alexperovich/coreclr,alexperovich/coreclr,geertdoornbos/coreclr,mocsy/coreclr,mocsy/coreclr,krytarowski/coreclr,fieryorc/coreclr,dkorolev/coreclr,sergey-raevskiy/coreclr,botaberg/coreclr,LLITCHEV/coreclr,hanu412/coreclr,akoeplinger/coreclr,apanda/coreclr,mocsy/coreclr,xoofx/coreclr,JosephTremoulet/coreclr,yeaicc/coreclr,krk/coreclr,DickvdBrink/coreclr,apanda/coreclr,JosephTremoulet/coreclr,Godin/coreclr,jhendrixMSFT/coreclr,dkorolev/coreclr,neurospeech/coreclr,bartdesmet/coreclr,LLITCHEV/coreclr,dpodder/coreclr,geertdoornbos/coreclr,spoiledsport/coreclr,ramarag/coreclr,shana/coreclr,chenxizhang/coreclr,shahid-pk/coreclr,OryJuVog/coreclr,andschwa/coreclr,sjsinju/coreclr,lzcj4/coreclr,MCGPPeters/coreclr,kyulee1/coreclr,alexperovich/coreclr,jamesqo/coreclr,benpye/coreclr,Samana/coreclr,wtgodbe/coreclr,Lucrecious/coreclr,iamjasonp/coreclr,iamjasonp/coreclr,david-mitchell/coreclr,wtgodbe/coreclr,wkchoy74/coreclr,krytarowski/coreclr,perfectphase/coreclr,shana/coreclr,shahid-pk/coreclr,josteink/coreclr,vinnyrom/coreclr,ganeshran/coreclr,Sridhar-MS/coreclr,bartonjs/coreclr,matthubin/coreclr,qiudesong/coreclr,shahid-pk/coreclr,AlfredoMS/coreclr,gitchomik/coreclr,ZhichengZhu/coreclr,kangaroo/coreclr,sejongoh/coreclr,ZhichengZhu/coreclr,misterzik/coreclr,schellap/coreclr,JonHanna/coreclr,krixalis/coreclr,akoeplinger/coreclr,jakesays/coreclr,GuilhermeSa/coreclr,sagood/coreclr,tijoytom/coreclr,perfectphase/coreclr,sejongoh/coreclr,akoeplinger/coreclr,jhendrixMSFT/coreclr,wtgodbe/coreclr,richardlford/coreclr,geertdoornbos/coreclr,ramarag/coreclr,SpotLabsNET/coreclr,wtgodbe/coreclr,taylorjonl/coreclr,poizan42/coreclr,chenxizhang/coreclr,stormleoxia/coreclr,bitcrazed/coreclr,AlexGhiondea/coreclr,mokchhya/coreclr,chuck-mitchell/coreclr,david-mitchell/coreclr,poizan42/coreclr,stormleoxia/coreclr,apanda/coreclr,matthubin/coreclr,taylorjonl/coreclr,swgillespie/coreclr,bartonjs/coreclr,naamunds/coreclr,hanu412/coreclr,sejongoh/coreclr,ytechie/coreclr,SlavaRa/coreclr,yeaicc/coreclr,iamjasonp/coreclr,Godin/coreclr,roncain/coreclr,ragmani/coreclr,Sridhar-MS/coreclr,krk/coreclr,parjong/coreclr,misterzik/coreclr,James-Ko/coreclr,chuck-mitchell/coreclr,gkhanna79/coreclr,richardlford/coreclr,JonHanna/coreclr,fffej/coreclr,LLITCHEV/coreclr,chenxizhang/coreclr,ruben-ayrapetyan/coreclr,sagood/coreclr,zmaruo/coreclr,josteink/coreclr,Godin/coreclr,gkhanna79/coreclr,yeaicc/coreclr,blackdwarf/coreclr,apanda/coreclr,chaos7theory/coreclr,wkchoy74/coreclr,lzcj4/coreclr,chuck-mitchell/coreclr,krytarowski/coreclr,misterzik/coreclr,qiudesong/coreclr,libengu/coreclr,vinnyrom/coreclr,andschwa/coreclr,Dmitry-Me/coreclr,mskvortsov/coreclr,benpye/coreclr,LLITCHEV/coreclr,bitcrazed/coreclr,cmckinsey/coreclr,krixalis/coreclr,sperling/coreclr,YongseopKim/coreclr,SpotLabsNET/coreclr,cmckinsey/coreclr,spoiledsport/coreclr,jhendrixMSFT/coreclr,fieryorc/coreclr,swgillespie/coreclr,krytarowski/coreclr,chenxizhang/coreclr,benpye/coreclr,wateret/coreclr,mocsy/coreclr,mskvortsov/coreclr,shahid-pk/coreclr,cshung/coreclr,roncain/coreclr,schellap/coreclr,lzcj4/coreclr,sperling/coreclr,sagood/coreclr,ytechie/coreclr,fieryorc/coreclr,Samana/coreclr,hanu412/coreclr,JonHanna/coreclr,grokys/coreclr,wtgodbe/coreclr,serenabenny/coreclr,Samana/coreclr,swgillespie/coreclr,Godin/coreclr,ragmani/coreclr,perfectphase/coreclr,richardlford/coreclr,blackdwarf/coreclr,DasAllFolks/coreclr,krixalis/coreclr,AlexGhiondea/coreclr,sperling/coreclr,akoeplinger/coreclr,JonHanna/coreclr,dkorolev/coreclr,pgavlin/coreclr,rartemev/coreclr,botaberg/coreclr,mokchhya/coreclr,DasAllFolks/coreclr,vinnyrom/coreclr,bjjones/coreclr,matthubin/coreclr,ktos/coreclr,ZhichengZhu/coreclr,manu-silicon/coreclr,poizan42/coreclr,richardlford/coreclr,matthubin/coreclr,parjong/coreclr,neurospeech/coreclr,bartdesmet/coreclr,AlfredoMS/coreclr,sjsinju/coreclr,GuilhermeSa/coreclr,sjsinju/coreclr,schellap/coreclr,stormleoxia/coreclr,chenxizhang/coreclr,sejongoh/coreclr,Djuffin/coreclr,mokchhya/coreclr,taylorjonl/coreclr,jamesqo/coreclr,andschwa/coreclr,bjjones/coreclr,akoeplinger/coreclr,Sridhar-MS/coreclr,Lucrecious/coreclr,dkorolev/coreclr,schellap/coreclr,wkchoy74/coreclr,AlexGhiondea/coreclr,ragmani/coreclr,parjong/coreclr,cshung/coreclr,misterzik/coreclr,YongseopKim/coreclr,LLITCHEV/coreclr,xoofx/coreclr,tijoytom/coreclr,cydhaselton/coreclr,jhendrixMSFT/coreclr,neurospeech/coreclr,Alcaro/coreclr,shana/coreclr,martinwoodward/coreclr,sperling/coreclr,cmckinsey/coreclr,cshung/coreclr,andschwa/coreclr,krixalis/coreclr,schellap/coreclr,KrzysztofCwalina/coreclr,shana/coreclr,swgillespie/coreclr,fieryorc/coreclr,sperling/coreclr,blackdwarf/coreclr,bartonjs/coreclr,JosephTremoulet/coreclr,dasMulli/coreclr,xtypebee/coreclr,josteink/coreclr,dpodder/coreclr,taylorjonl/coreclr,qiudesong/coreclr,AlexGhiondea/coreclr,shana/coreclr,fffej/coreclr,DasAllFolks/coreclr,serenabenny/coreclr,OryJuVog/coreclr,cydhaselton/coreclr,dasMulli/coreclr,JosephTremoulet/coreclr,bitcrazed/coreclr,wkchoy74/coreclr,wateret/coreclr,cshung/coreclr,KrzysztofCwalina/coreclr,DickvdBrink/coreclr,dasMulli/coreclr,parjong/coreclr,cshung/coreclr,Lucrecious/coreclr,Dmitry-Me/coreclr,yizhang82/coreclr,kangaroo/coreclr,cmckinsey/coreclr,chrishaly/coreclr,MCGPPeters/coreclr,martinwoodward/coreclr,spoiledsport/coreclr,hseok-oh/coreclr,schellap/coreclr,Dmitry-Me/coreclr,stormleoxia/coreclr,david-mitchell/coreclr,parjong/coreclr,orthoxerox/coreclr,neurospeech/coreclr,xoofx/coreclr,roncain/coreclr,ruben-ayrapetyan/coreclr,dpodder/coreclr,AlfredoMS/coreclr,botaberg/coreclr,qiudesong/coreclr,fffej/coreclr,dpodder/coreclr,mokchhya/coreclr,wtgodbe/coreclr,krk/coreclr,naamunds/coreclr,OryJuVog/coreclr,misterzik/coreclr,taylorjonl/coreclr,libengu/coreclr,cydhaselton/coreclr,hanu412/coreclr,ktos/coreclr,bjjones/coreclr,zmaruo/coreclr,bartdesmet/coreclr,ktos/coreclr,Djuffin/coreclr,apanda/coreclr,wateret/coreclr,shana/coreclr,xtypebee/coreclr,richardlford/coreclr,sejongoh/coreclr,poizan42/coreclr,ytechie/coreclr,manu-silicon/coreclr,tijoytom/coreclr,jamesqo/coreclr,Dmitry-Me/coreclr,kyulee1/coreclr,orthoxerox/coreclr,OryJuVog/coreclr,bjjones/coreclr,bitcrazed/coreclr,bartonjs/coreclr,dkorolev/coreclr,wateret/coreclr,hseok-oh/coreclr,MCGPPeters/coreclr,ganeshran/coreclr,fernando-rodriguez/coreclr,chaos7theory/coreclr,josteink/coreclr,alexperovich/coreclr,GuilhermeSa/coreclr,andschwa/coreclr,mokchhya/coreclr,yizhang82/coreclr,mskvortsov/coreclr,chrishaly/coreclr,ericeil/coreclr,spoiledsport/coreclr,cmckinsey/coreclr,zmaruo/coreclr,sejongoh/coreclr,sergey-raevskiy/coreclr,richardlford/coreclr,fernando-rodriguez/coreclr,SpotLabsNET/coreclr,dpodder/coreclr,AlexGhiondea/coreclr,rartemev/coreclr,Djuffin/coreclr,xoofx/coreclr,ZhichengZhu/coreclr,david-mitchell/coreclr,martinwoodward/coreclr,shahid-pk/coreclr,KrzysztofCwalina/coreclr,serenabenny/coreclr,gitchomik/coreclr,ericeil/coreclr,jakesays/coreclr,Alcaro/coreclr,jamesqo/coreclr,geertdoornbos/coreclr,OryJuVog/coreclr,josteink/coreclr,roncain/coreclr,bjjones/coreclr,yeaicc/coreclr,bartdesmet/coreclr,ganeshran/coreclr,Lucrecious/coreclr,yeaicc/coreclr,matthubin/coreclr,ruben-ayrapetyan/coreclr,KrzysztofCwalina/coreclr,benpye/coreclr,russellhadley/coreclr,grokys/coreclr,kangaroo/coreclr,SlavaRa/coreclr,tijoytom/coreclr,JonHanna/coreclr,stormleoxia/coreclr,russellhadley/coreclr,ktos/coreclr,perfectphase/coreclr,stormleoxia/coreclr,JosephTremoulet/coreclr,Lucrecious/coreclr,Sridhar-MS/coreclr,Alcaro/coreclr,naamunds/coreclr,James-Ko/coreclr,lzcj4/coreclr,xoofx/coreclr,yizhang82/coreclr,fffej/coreclr,yeaicc/coreclr,bartdesmet/coreclr,vinnyrom/coreclr,chaos7theory/coreclr,DickvdBrink/coreclr,Samana/coreclr,dasMulli/coreclr,spoiledsport/coreclr,ramarag/coreclr,KrzysztofCwalina/coreclr,JosephTremoulet/coreclr,xtypebee/coreclr,serenabenny/coreclr,gitchomik/coreclr,Djuffin/coreclr,grokys/coreclr,yizhang82/coreclr,ktos/coreclr,kyulee1/coreclr,yizhang82/coreclr,ytechie/coreclr,roncain/coreclr,krytarowski/coreclr,russellhadley/coreclr,pgavlin/coreclr,ramarag/coreclr,MCGPPeters/coreclr,bitcrazed/coreclr,perfectphase/coreclr,ericeil/coreclr,pgavlin/coreclr,orthoxerox/coreclr,fernando-rodriguez/coreclr,tijoytom/coreclr,geertdoornbos/coreclr,Djuffin/coreclr,zmaruo/coreclr,swgillespie/coreclr,sjsinju/coreclr,dkorolev/coreclr,ruben-ayrapetyan/coreclr,qiudesong/coreclr,Godin/coreclr,gitchomik/coreclr,SlavaRa/coreclr,bartonjs/coreclr,Godin/coreclr,jamesqo/coreclr,kangaroo/coreclr,AlfredoMS/coreclr,sperling/coreclr,iamjasonp/coreclr,mmitche/coreclr,dasMulli/coreclr,botaberg/coreclr,yizhang82/coreclr,cydhaselton/coreclr,grokys/coreclr,mmitche/coreclr,rartemev/coreclr,dasMulli/coreclr,matthubin/coreclr,kyulee1/coreclr,iamjasonp/coreclr,rartemev/coreclr,gitchomik/coreclr,lzcj4/coreclr,benpye/coreclr,Dmitry-Me/coreclr,fieryorc/coreclr,gkhanna79/coreclr,orthoxerox/coreclr,SpotLabsNET/coreclr,cydhaselton/coreclr,wkchoy74/coreclr,pgavlin/coreclr,zmaruo/coreclr,GuilhermeSa/coreclr,fffej/coreclr,hseok-oh/coreclr,jakesays/coreclr,libengu/coreclr,wateret/coreclr,mocsy/coreclr,sjsinju/coreclr,gkhanna79/coreclr,jakesays/coreclr,bjjones/coreclr,naamunds/coreclr,blackdwarf/coreclr,mokchhya/coreclr,jhendrixMSFT/coreclr,fernando-rodriguez/coreclr,James-Ko/coreclr,rartemev/coreclr,chuck-mitchell/coreclr,sergey-raevskiy/coreclr,ZhichengZhu/coreclr,taylorjonl/coreclr,wkchoy74/coreclr,benpye/coreclr,jakesays/coreclr,chrishaly/coreclr,krixalis/coreclr,gkhanna79/coreclr,botaberg/coreclr,chuck-mitchell/coreclr,parjong/coreclr,orthoxerox/coreclr,shahid-pk/coreclr,gkhanna79/coreclr,russellhadley/coreclr,neurospeech/coreclr,blackdwarf/coreclr,ZhichengZhu/coreclr,david-mitchell/coreclr,ganeshran/coreclr,poizan42/coreclr,krk/coreclr,grokys/coreclr,cmckinsey/coreclr,mokchhya/coreclr,chrishaly/coreclr,jamesqo/coreclr,KrzysztofCwalina/coreclr,Alcaro/coreclr,DickvdBrink/coreclr,YongseopKim/coreclr,GuilhermeSa/coreclr,Samana/coreclr,SpotLabsNET/coreclr,alexperovich/coreclr,LLITCHEV/coreclr,perfectphase/coreclr,jhendrixMSFT/coreclr,chuck-mitchell/coreclr,ruben-ayrapetyan/coreclr,ktos/coreclr,botaberg/coreclr,russellhadley/coreclr,roncain/coreclr,mmitche/coreclr,libengu/coreclr,martinwoodward/coreclr,mocsy/coreclr,spoiledsport/coreclr,fffej/coreclr,vinnyrom/coreclr,Dmitry-Me/coreclr,AlfredoMS/coreclr,sjsinju/coreclr,qiudesong/coreclr,xoofx/coreclr,SpotLabsNET/coreclr,rartemev/coreclr,James-Ko/coreclr,martinwoodward/coreclr,Sridhar-MS/coreclr,hseok-oh/coreclr,ytechie/coreclr,lzcj4/coreclr,ZhichengZhu/coreclr,neurospeech/coreclr,kangaroo/coreclr,roncain/coreclr,Godin/coreclr,ytechie/coreclr,schellap/coreclr,Alcaro/coreclr,DasAllFolks/coreclr,apanda/coreclr,bartdesmet/coreclr,DasAllFolks/coreclr,sergey-raevskiy/coreclr,mmitche/coreclr,geertdoornbos/coreclr,jhendrixMSFT/coreclr,DasAllFolks/coreclr,hanu412/coreclr,cshung/coreclr,sergey-raevskiy/coreclr,josteink/coreclr,iamjasonp/coreclr,misterzik/coreclr,SlavaRa/coreclr,SlavaRa/coreclr,mskvortsov/coreclr,YongseopKim/coreclr,vinnyrom/coreclr,Alcaro/coreclr,swgillespie/coreclr,martinwoodward/coreclr,andschwa/coreclr,MCGPPeters/coreclr,LLITCHEV/coreclr,James-Ko/coreclr,ktos/coreclr,krytarowski/coreclr,OryJuVog/coreclr,ramarag/coreclr,sagood/coreclr,manu-silicon/coreclr,serenabenny/coreclr,orthoxerox/coreclr,poizan42/coreclr,krk/coreclr,kangaroo/coreclr,xtypebee/coreclr,mocsy/coreclr,YongseopKim/coreclr,naamunds/coreclr,sejongoh/coreclr,naamunds/coreclr,pgavlin/coreclr,chuck-mitchell/coreclr,ericeil/coreclr,Lucrecious/coreclr,fieryorc/coreclr,cmckinsey/coreclr