added check to avoid array out of boud access
added check to avoid array out of boud access

Yonezawa-T2/RIOT,gautric/RIOT,OTAkeys/RIOT,attdona/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,centurysys/RIOT,aeneby/RIOT,daniel-k/RIOT,x3ro/RIOT,chris-wood/RIOT,rajma996/RIOT,jhollister/RIOT,JensErdmann/RIOT,thiagohd/RIOT,neumodisch/RIOT,yogo1212/RIOT,jasonatran/RIOT,arvindpdmn/RIOT,rfswarm2/RIOT,herrfz/RIOT-old,patkan/RIOT,phiros/RIOT,watr-li/RIOT,malosek/RIOT,abkam07/RIOT,altairpearl/RIOT,khhhh/RIOT,katezilla/RIOT,mfrey/RIOT,ks156/RIOT,plushvoxel/RIOT,fnack/RIOT,gbarnett/RIOT,locicontrols/RIOT,LudwigOrtmann/RIOT,malosek/RIOT,benoit-canet/RIOT,rousselk/RIOT,rousselk/RIOT,ros2/ros2_embedded_riot,dhruvvyas90/RIOT,jbeyerstedt/RIOT-OTA-update,watr-li/RIOT,DipSwitch/RIOT,marcosalm/RIOT,openkosmosorg/RIOT,jbeyerstedt/RIOT-OTA-update,altairpearl/RIOT,kaleb-himes/RIOT,openkosmosorg/RIOT,chris-wood/RIOT,asanka-code/RIOT,RIOT-OS/RIOT,khhhh/RIOT,daniel-k/RIOT,jasonatran/RIOT,changbiao/RIOT,backenklee/RIOT,lazytech-org/RIOT,binarylemon/RIOT,fnack/RIOT,basilfx/RIOT,dailab/RIOT,rajma996/RIOT,jremmert-phytec-iot/RIOT,marcosalm/RIOT,kb2ma/RIOT,avmelnikoff/RIOT,ros2/ros2_embedded_riot,rousselk/RIOT,AnonMall/RIOT,adrianghc/RIOT,alex1818/RIOT,arvindpdmn/RIOT,thomaseichinger/RIOT,1blankz7/RIOT,kYc0o/RIOT,phiros/RIOT,ros2/ros2_embedded_riot,Lotterleben/RIOT,FrancescoErmini/RIOT,LudwigOrtmann/RIOT,lebrush/RIOT,rfswarm/RIOT,latsku/RIOT,openkosmosorg/RIOT,BytesGalore/PetersRIOT,immesys/RiSyn,latsku/RIOT,wentaoshang/RIOT,luciotorre/RIOT,toonst/RIOT,jhollister/RIOT,Hyungsin/RIOT-OS,RBartz/RIOT,spium/IoT-RIOT,locicontrols/RIOT,AnonMall/RIOT,biboc/RIOT,BytesGalore/RIOT,beurdouche/RIOT,BytesGalore/PetersRIOT,ks156/RIOT,miri64/RIOT,kaleb-himes/RIOT,RIOT-OS/RIOT,latsku/RIOT,smlng/RIOT,DipSwitch/RIOT,ks156/RIOT,openkosmosorg/RIOT,dhruvvyas90/RIOT,immesys/RiSyn,kaspar030/RIOT,LudwigKnuepfer/RIOT,RubikonAlpha/RIOT,rakendrathapa/RIOT,jremmert-phytec-iot/RIOT,Lexandro92/RIOT-CoAP,Hyungsin/RIOT-OS,msolters/RIOT,openkosmosorg/RIOT,authmillenon/RIOT,kerneltask/RIOT,kushalsingh007/RIOT,koenning/RIOT,lebrush/RIOT,centurysys/RIOT,alignan/RIOT,spium/IoT-RIOT,rfswarm2/RIOT,rfuentess/RIOT,kushalsingh007/RIOT,A-Paul/RIOT,daniel-k/RIOT,kushalsingh007/RIOT,roberthartung/RIOT,yogo1212/RIOT,AnonMall/RIOT,koenning/RIOT,mfrey/RIOT,miri64/RIOT,AnonMall/RIOT,thomaseichinger/RIOT,nsol-nmsu/RIOT,herrfz/RIOT,beurdouche/RIOT,jhollister/RIOT,Ell-i/RIOT,jferreir/RIOT,ros2/ros2_embedded_riot,OlegHahm/RIOT,gbarnett/RIOT,ks156/RIOT,binarylemon/RIOT,RBartz/RIOT,lazytech-org/RIOT,TobiasFredersdorf/RIOT,patkan/RIOT,kbumsik/RIOT,gbarnett/RIOT,avmelnikoff/RIOT,kb2ma/RIOT,changbiao/RIOT,rakendrathapa/RIOT,fnack/RIOT,Yonezawa-T2/RIOT,sgso/RIOT,rousselk/RIOT,avmelnikoff/RIOT,ros2/ros2_embedded_riot,jfischer-phytec-iot/RIOT,Yonezawa-T2/RIOT,hamilton-mote/RIOT-OS,josephnoir/RIOT,OTAkeys/RIOT,kerneltask/RIOT,rfswarm2/RIOT,MarkXYang/RIOT,bartfaizoltan/RIOT,ntrtrung/RIOT,dhruvvyas90/RIOT,authmillenon/RIOT,herrfz/RIOT,RubikonAlpha/RIOT,gebart/RIOT,latsku/RIOT,MohmadAyman/RIOT,syin2/RIOT,stevenj/RIOT,Osblouf/RIOT,Yonezawa-T2/RIOT,patkan/RIOT,syin2/RIOT,kbumsik/RIOT,nsol-nmsu/RIOT,JensErdmann/RIOT,abp719/RIOT,emmanuelsearch/RIOT,ximus/RIOT,PSHIVANI/Riot-Code,immesys/RiSyn,tdautc19841202/RIOT,smlng/RIOT,ntrtrung/RIOT,sumanpanchal/RIOT,sumanpanchal/RIOT,LudwigOrtmann/RIOT,smlng/RIOT,phiros/RIOT,alex1818/RIOT,MohmadAyman/RIOT,emmanuelsearch/RIOT,backenklee/RIOT,alex1818/RIOT,josephnoir/RIOT,shady33/RIOT,x3ro/RIOT,EmuxEvans/RIOT,mziegert/RIOT,adrianghc/RIOT,jremmert-phytec-iot/RIOT,katezilla/RIOT,sumanpanchal/RIOT,ntrtrung/RIOT,RubikonAlpha/RIOT,chris-wood/RIOT,stevenj/RIOT,kbumsik/RIOT,rfuentess/RIOT,luciotorre/RIOT,benoit-canet/RIOT,basilfx/RIOT,haoyangyu/RIOT,josephnoir/RIOT,MohmadAyman/RIOT,kushalsingh007/RIOT,herrfz/RIOT,watr-li/RIOT,mfrey/RIOT,rfswarm/RIOT,ThanhVic/RIOT,hamilton-mote/RIOT-OS,thomaseichinger/RIOT,basilfx/RIOT,MarkXYang/RIOT,Yonezawa-T2/RIOT,centurysys/RIOT,jbeyerstedt/RIOT-OTA-update,abkam07/RIOT,PSHIVANI/Riot-Code,LudwigKnuepfer/RIOT,biboc/RIOT,jferreir/RIOT,MonsterCode8000/RIOT,emmanuelsearch/RIOT,Lotterleben/RIOT,Darredevil/RIOT,cladmi/RIOT,mziegert/RIOT,kushalsingh007/RIOT,LudwigOrtmann/RIOT,zhuoshuguo/RIOT,centurysys/RIOT,authmillenon/RIOT,nsol-nmsu/RIOT,plushvoxel/RIOT,d00616/RIOT,shady33/RIOT,benoit-canet/RIOT,RBartz/RIOT,mtausig/RIOT,tdautc19841202/RIOT,dailab/RIOT,rajma996/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,PSHIVANI/Riot-Code,wentaoshang/RIOT,brettswann/RIOT,haoyangyu/RIOT,hamilton-mote/RIOT-OS,FrancescoErmini/RIOT,koenning/RIOT,wentaoshang/RIOT,bartfaizoltan/RIOT,robixnai/RIOT,OTAkeys/RIOT,asanka-code/RIOT,changbiao/RIOT,mziegert/RIOT,dhruvvyas90/RIOT,thiagohd/RIOT,Lotterleben/RIOT,benoit-canet/RIOT,sumanpanchal/RIOT,Lotterleben/RIOT,rousselk/RIOT,zhuoshuguo/RIOT,1blankz7/RIOT,luciotorre/RIOT,fnack/RIOT,x3ro/RIOT,toonst/RIOT,adjih/RIOT,MonsterCode8000/RIOT,gebart/RIOT,Lexandro92/RIOT-CoAP,mtausig/RIOT,RIOT-OS/RIOT,Lexandro92/RIOT-CoAP,mtausig/RIOT,alex1818/RIOT,A-Paul/RIOT,gbarnett/RIOT,adjih/RIOT,Josar/RIOT,rfswarm2/RIOT,1blankz7/RIOT,kb2ma/RIOT,TobiasFredersdorf/RIOT,automote/RIOT,neumodisch/RIOT,gautric/RIOT,yogo1212/RIOT,RubikonAlpha/RIOT,wentaoshang/RIOT,toonst/RIOT,automote/RIOT,herrfz/RIOT,kbumsik/RIOT,d00616/RIOT,Darredevil/RIOT,arvindpdmn/RIOT,chris-wood/RIOT,ximus/RIOT,jasonatran/RIOT,kaspar030/RIOT,sumanpanchal/RIOT,kaleb-himes/RIOT,RBartz/RIOT,yogo1212/RIOT,gbarnett/RIOT,beurdouche/RIOT,ant9000/RIOT,Hyungsin/RIOT-OS,khhhh/RIOT,MonsterCode8000/RIOT,binarylemon/RIOT,msolters/RIOT,thiagohd/RIOT,DipSwitch/RIOT,FrancescoErmini/RIOT,Lexandro92/RIOT-CoAP,jremmert-phytec-iot/RIOT,malosek/RIOT,immesys/RiSyn,FrancescoErmini/RIOT,watr-li/RIOT,MarkXYang/RIOT,asanka-code/RIOT,yogo1212/RIOT,roberthartung/RIOT,abp719/RIOT,immesys/RiSyn,neumodisch/RIOT,mfrey/RIOT,ThanhVic/RIOT,shady33/RIOT,jasonatran/RIOT,d00616/RIOT,thomaseichinger/RIOT,binarylemon/RIOT,khhhh/RIOT,DipSwitch/RIOT,shady33/RIOT,authmillenon/RIOT,authmillenon/RIOT,bartfaizoltan/RIOT,JensErdmann/RIOT,kYc0o/RIOT,robixnai/RIOT,LudwigKnuepfer/RIOT,DipSwitch/RIOT,JensErdmann/RIOT,Josar/RIOT,BytesGalore/RIOT,kaspar030/RIOT,Hyungsin/RIOT-OS,PSHIVANI/Riot-Code,Osblouf/RIOT,jremmert-phytec-iot/RIOT,marcosalm/RIOT,gbarnett/RIOT,rakendrathapa/RIOT,kb2ma/RIOT,zhuoshuguo/RIOT,jfischer-phytec-iot/RIOT,d00616/RIOT,khhhh/RIOT,herrfz/RIOT-old,abkam07/RIOT,changbiao/RIOT,mtausig/RIOT,Lotterleben/RIOT,ThanhVic/RIOT,chris-wood/RIOT,automote/RIOT,msolters/RIOT,bartfaizoltan/RIOT,basilfx/RIOT,DipSwitch/RIOT,tfar/RIOT,ks156/RIOT,OlegHahm/RIOT,abkam07/RIOT,watr-li/RIOT,haoyangyu/RIOT,l3nko/RIOT,herrfz/RIOT-old,OTAkeys/RIOT,fnack/RIOT,spium/IoT-RIOT,dkm/RIOT,benoit-canet/RIOT,mziegert/RIOT,zhuoshuguo/RIOT,Ell-i/RIOT,alignan/RIOT,LudwigKnuepfer/RIOT,authmillenon/RIOT,OlegHahm/RIOT,Yonezawa-T2/RIOT,mziegert/RIOT,TobiasFredersdorf/RIOT,sgso/RIOT,abp719/RIOT,adjih/RIOT,Lexandro92/RIOT-CoAP,rajma996/RIOT,marcosalm/RIOT,Josar/RIOT,miri64/RIOT,attdona/RIOT,thiagohd/RIOT,herrfz/RIOT-old,rfuentess/RIOT,BytesGalore/PetersRIOT,aeneby/RIOT,jferreir/RIOT,tdautc19841202/RIOT,latsku/RIOT,herrfz/RIOT-old,msolters/RIOT,ximus/RIOT,d00616/RIOT,Osblouf/RIOT,PSHIVANI/Riot-Code,kaleb-himes/RIOT,smlng/RIOT,x3ro/RIOT,toonst/RIOT,spium/IoT-RIOT,EmuxEvans/RIOT,ant9000/RIOT,ThanhVic/RIOT,daniel-k/RIOT,adjih/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,EmuxEvans/RIOT,avmelnikoff/RIOT,changbiao/RIOT,jbeyerstedt/RIOT-OTA-update,MonsterCode8000/RIOT,robixnai/RIOT,ThanhVic/RIOT,locicontrols/RIOT,tfar/RIOT,MarkXYang/RIOT,gautric/RIOT,automote/RIOT,asanka-code/RIOT,tfar/RIOT,adrianghc/RIOT,brettswann/RIOT,brettswann/RIOT,EmuxEvans/RIOT,toonst/RIOT,immesys/RiSyn,Josar/RIOT,thomaseichinger/RIOT,dkm/RIOT,robixnai/RIOT,attdona/RIOT,cladmi/RIOT,jferreir/RIOT,malosek/RIOT,cladmi/RIOT,ntrtrung/RIOT,aeneby/RIOT,syin2/RIOT,stevenj/RIOT,roberthartung/RIOT,jferreir/RIOT,dhruvvyas90/RIOT,fnack/RIOT,RBartz/RIOT,plushvoxel/RIOT,roberthartung/RIOT,jhollister/RIOT,locicontrols/RIOT,neiljay/RIOT,adrianghc/RIOT,ximus/RIOT,ros2/ros2_embedded_riot,chris-wood/RIOT,attdona/RIOT,dailab/RIOT,dkm/RIOT,phiros/RIOT,l3nko/RIOT,alex1818/RIOT,bartfaizoltan/RIOT,brettswann/RIOT,Ell-i/RIOT,luciotorre/RIOT,syin2/RIOT,backenklee/RIOT,MarkXYang/RIOT,beurdouche/RIOT,stevenj/RIOT,koenning/RIOT,abp719/RIOT,sgso/RIOT,attdona/RIOT,MonsterCode8000/RIOT,rfswarm2/RIOT,lebrush/RIOT,BytesGalore/RIOT,emmanuelsearch/RIOT,ntrtrung/RIOT,sgso/RIOT,BytesGalore/RIOT,spium/IoT-RIOT,Lotterleben/RIOT,kerneltask/RIOT,A-Paul/RIOT,FrancescoErmini/RIOT,jfischer-phytec-iot/RIOT,ant9000/RIOT,zhuoshuguo/RIOT,rfuentess/RIOT,msolters/RIOT,ximus/RIOT,dhruvvyas90/RIOT,backenklee/RIOT,kYc0o/RIOT,adrianghc/RIOT,robixnai/RIOT,syin2/RIOT,A-Paul/RIOT,1blankz7/RIOT,daniel-k/RIOT,l3nko/RIOT,locicontrols/RIOT,RIOT-OS/RIOT,asanka-code/RIOT,plushvoxel/RIOT,automote/RIOT,nsol-nmsu/RIOT,thiagohd/RIOT,kushalsingh007/RIOT,alignan/RIOT,RubikonAlpha/RIOT,luciotorre/RIOT,alignan/RIOT,gebart/RIOT,thiagohd/RIOT,stevenj/RIOT,rfswarm/RIOT,biboc/RIOT,patkan/RIOT,rajma996/RIOT,jfischer-phytec-iot/RIOT,nsol-nmsu/RIOT,khhhh/RIOT,stevenj/RIOT,kb2ma/RIOT,josephnoir/RIOT,centurysys/RIOT,x3ro/RIOT,automote/RIOT,haoyangyu/RIOT,malosek/RIOT,cladmi/RIOT,changbiao/RIOT,lazytech-org/RIOT,rousselk/RIOT,locicontrols/RIOT,phiros/RIOT,Darredevil/RIOT,emmanuelsearch/RIOT,attdona/RIOT,rakendrathapa/RIOT,BytesGalore/PetersRIOT,l3nko/RIOT,alignan/RIOT,shady33/RIOT,dkm/RIOT,rfswarm/RIOT,locicontrols/RIOT,sgso/RIOT,marcosalm/RIOT,FrancescoErmini/RIOT,Lexandro92/RIOT-CoAP,tdautc19841202/RIOT,gebart/RIOT,tfar/RIOT,LudwigKnuepfer/RIOT,lebrush/RIOT,rakendrathapa/RIOT,biboc/RIOT,binarylemon/RIOT,AnonMall/RIOT,koenning/RIOT,tdautc19841202/RIOT,OTAkeys/RIOT,abkam07/RIOT,rfuentess/RIOT,herrfz/RIOT,biboc/RIOT,smlng/RIOT,BytesGalore/RIOT,AnonMall/RIOT,lazytech-org/RIOT,asanka-code/RIOT,Josar/RIOT,Ell-i/RIOT,katezilla/RIOT,herrfz/RIOT,robixnai/RIOT,jhollister/RIOT,jferreir/RIOT,rajma996/RIOT,kerneltask/RIOT,plushvoxel/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,haoyangyu/RIOT,kaspar030/RIOT,abp719/RIOT,Hyungsin/RIOT-OS,neumodisch/RIOT,haoyangyu/RIOT,LudwigOrtmann/RIOT,lebrush/RIOT,EmuxEvans/RIOT,bartfaizoltan/RIOT,kYc0o/RIOT,kaleb-himes/RIOT,neiljay/RIOT,abkam07/RIOT,arvindpdmn/RIOT,basilfx/RIOT,brettswann/RIOT,katezilla/RIOT,malosek/RIOT,daniel-k/RIOT,emmanuelsearch/RIOT,spium/IoT-RIOT,jremmert-phytec-iot/RIOT,kerneltask/RIOT,MarkXYang/RIOT,jhollister/RIOT,Lotterleben/RIOT,koenning/RIOT,JensErdmann/RIOT,1blankz7/RIOT,jfischer-phytec-iot/RIOT,Darredevil/RIOT,adjih/RIOT,sgso/RIOT,miri64/RIOT,abp719/RIOT,marcosalm/RIOT,RubikonAlpha/RIOT,Darredevil/RIOT,josephnoir/RIOT,gebart/RIOT,Darredevil/RIOT,mziegert/RIOT,patkan/RIOT,dailab/RIOT,gautric/RIOT,A-Paul/RIOT,aeneby/RIOT,neumodisch/RIOT,aeneby/RIOT,kaspar030/RIOT,rfswarm/RIOT,ant9000/RIOT,neiljay/RIOT,MonsterCode8000/RIOT,binarylemon/RIOT,luciotorre/RIOT,patkan/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,neiljay/RIOT,ant9000/RIOT,EmuxEvans/RIOT,ThanhVic/RIOT,Ell-i/RIOT,msolters/RIOT,neumodisch/RIOT,altairpearl/RIOT,rfswarm/RIOT,alex1818/RIOT,mfrey/RIOT,TobiasFredersdorf/RIOT,yogo1212/RIOT,mtausig/RIOT,l3nko/RIOT,benoit-canet/RIOT,altairpearl/RIOT,altairpearl/RIOT,JensErdmann/RIOT,watr-li/RIOT,Osblouf/RIOT,kbumsik/RIOT,kYc0o/RIOT,phiros/RIOT,RIOT-OS/RIOT,arvindpdmn/RIOT,dkm/RIOT,d00616/RIOT,brettswann/RIOT,katezilla/RIOT,jbeyerstedt/RIOT-OTA-update,cladmi/RIOT,LudwigOrtmann/RIOT,1blankz7/RIOT,lebrush/RIOT,Osblouf/RIOT,arvindpdmn/RIOT,tfar/RIOT,hamilton-mote/RIOT-OS,jasonatran/RIOT,gautric/RIOT,MohmadAyman/RIOT,avmelnikoff/RIOT,sumanpanchal/RIOT,rfswarm2/RIOT,miri64/RIOT,TobiasFredersdorf/RIOT,roberthartung/RIOT,openkosmosorg/RIOT,wentaoshang/RIOT,centurysys/RIOT,altairpearl/RIOT,Osblouf/RIOT,rakendrathapa/RIOT,MohmadAyman/RIOT,MohmadAyman/RIOT,ros2/ros2_embedded_riot,lazytech-org/RIOT,tdautc19841202/RIOT,wentaoshang/RIOT,OlegHahm/RIOT,backenklee/RIOT,PSHIVANI/Riot-Code,shady33/RIOT,dailab/RIOT,neiljay/RIOT,BytesGalore/PetersRIOT,OlegHahm/RIOT,l3nko/RIOT,zhuoshuguo/RIOT,BytesGalore/PetersRIOT,beurdouche/RIOT,BytesGalore/PetersRIOT,ntrtrung/RIOT,hamilton-mote/RIOT-OS,RBartz/RIOT,latsku/RIOT,ximus/RIOT