Ported r2512 from ZXing
Ported r2512 from ZXing

Original commit message: "Issue 1434 more sanity checks for RSS
expanded"

fanwenkai/ZXingObjC,adan016/ZXingObjC,trsathya/ZXingObjC,wuxsoft/ZXingObjC,benjohnde/ZXingObjC,JeremyPacker/ZXingObjC,rkpant/ZXingObjC,jebai0521/ZXingObjC,ufs-slizhik/ZXingObjC,elegion/ios-pods-ZXingObjC,sdhzwm/ZXingObjC,Stocard/ZXingObjC,trsathya/ZXingObjC,jianwoo/ZXingObjC,peacemoon/ZXingObjC,elegion/ios-pods-ZXingObjC,SinnerSchraderMobileMirrors/ZXingObjC,xuxubin/ZXingObjC,davidjackman/ZXingObjC,Kevin775263419/ZXingObjC,Kevin775263419/ZXingObjC,SinnerSchraderMobileMirrors/ZXingObjC,YotrolZ/ZXingObjC,xuxubin/ZXingObjC,zeffon/ZXingObjC,Kalvar/ZXingObjC,Stocard/ZXingObjC,SinnerSchraderMobileMirrors/ZXingObjC,davidjackman/ZXingObjC,jianwoo/ZXingObjC,YotrolZ/ZXingObjC,fuzhiqiang1989/ZXingObjC,tejesh-alimilli/ZXingObjC,RockyAo/ZXingObjC,benjohnde/ZXingObjC,SinnerSchraderMobileMirrors/ZXingObjC,fuzhiqiang1989/ZXingObjC,Kalvar/ZXingObjC,zilaiyedaren/ZXingObjC,cortices/ZXingObjC,rkpant/ZXingObjC,zilaiyedaren/ZXingObjC,TheLevelUp/ZXingObjC,rowliny/ZXingObjC,sdhzwm/ZXingObjC,tejesh-alimilli/ZXingObjC,adan016/ZXingObjC,TheLevelUp/ZXingObjC,peacemoon/ZXingObjC,fanwenkai/ZXingObjC,RockyAo/ZXingObjC,cortices/ZXingObjC,wuxsoft/ZXingObjC,zeffon/ZXingObjC,ufs-slizhik/ZXingObjC,JeremyPacker/ZXingObjC,rowliny/ZXingObjC,jebai0521/ZXingObjC