Ensure that the input image of decode.bmp.op has valid dimensions.
Ensure that the input image of decode.bmp.op has valid dimensions.

This prevents an undefined behavior with signed integer overflow in
decode.bmp.op.

PiperOrigin-RevId: 212897289

dongjoon-hyun/tensorflow,adit-chandra/tensorflow,kobejean/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,jendap/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,alsrgv/tensorflow,hehongliang/tensorflow,renyi533/tensorflow,theflofly/tensorflow,jhseu/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,jendap/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,hehongliang/tensorflow,kobejean/tensorflow,brchiu/tensorflow,jbedorf/tensorflow,Bismarrck/tensorflow,renyi533/tensorflow,asimshankar/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,xodus7/tensorflow,dancingdan/tensorflow,kobejean/tensorflow,karllessard/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,hfp/tensorflow-xsmm,arborh/tensorflow,theflofly/tensorflow,jhseu/tensorflow,girving/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,kobejean/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,hfp/tensorflow-xsmm,xzturn/tensorflow,hfp/tensorflow-xsmm,gunan/tensorflow,freedomtan/tensorflow,dongjoon-hyun/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,Bismarrck/tensorflow,snnn/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,arborh/tensorflow,dongjoon-hyun/tensorflow,jendap/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,tensorflow/tensorflow,girving/tensorflow,jhseu/tensorflow,aldian/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,hfp/tensorflow-xsmm,Intel-tensorflow/tensorflow,kobejean/tensorflow,petewarden/tensorflow,snnn/tensorflow,dongjoon-hyun/tensorflow,xodus7/tensorflow,Intel-tensorflow/tensorflow,jendap/tensorflow,cxxgtxy/tensorflow,hehongliang/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,apark263/tensorflow,dongjoon-hyun/tensorflow,petewarden/tensorflow,gunan/tensorflow,dancingdan/tensorflow,karllessard/tensorflow,asimshankar/tensorflow,petewarden/tensorflow,sarvex/tensorflow,sarvex/tensorflow,asimshankar/tensorflow,paolodedios/tensorflow,xodus7/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,snnn/tensorflow,ageron/tensorflow,hfp/tensorflow-xsmm,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,seanli9jan/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,brchiu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,girving/tensorflow,apark263/tensorflow,DavidNorman/tensorflow,hehongliang/tensorflow,davidzchen/tensorflow,dancingdan/tensorflow,alsrgv/tensorflow,arborh/tensorflow,ageron/tensorflow,girving/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,seanli9jan/tensorflow,apark263/tensorflow,frreiss/tensorflow-fred,ageron/tensorflow,Bismarrck/tensorflow,asimshankar/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ageron/tensorflow,ageron/tensorflow,gunan/tensorflow,hfp/tensorflow-xsmm,Intel-tensorflow/tensorflow,jendap/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,xodus7/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,alshedivat/tensorflow,snnn/tensorflow,ppwwyyxx/tensorflow,girving/tensorflow,annarev/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,freedomtan/tensorflow,brchiu/tensorflow,kevin-coder/tensorflow-fork,petewarden/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,annarev/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,aldian/tensorflow,jbedorf/tensorflow,jbedorf/tensorflow,jhseu/tensorflow,alshedivat/tensorflow,ageron/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,dongjoon-hyun/tensorflow,freedomtan/tensorflow,snnn/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,apark263/tensorflow,aam-at/tensorflow,snnn/tensorflow,arborh/tensorflow,xodus7/tensorflow,asimshankar/tensorflow,cxxgtxy/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,jbedorf/tensorflow,snnn/tensorflow,seanli9jan/tensorflow,gunan/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,alshedivat/tensorflow,ageron/tensorflow,aldian/tensorflow,brchiu/tensorflow,gunan/tensorflow,brchiu/tensorflow,ageron/tensorflow,aldian/tensorflow,ageron/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,hfp/tensorflow-xsmm,seanli9jan/tensorflow,Bismarrck/tensorflow,theflofly/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,renyi533/tensorflow,girving/tensorflow,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,Bismarrck/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,jendap/tensorflow,jbedorf/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,dancingdan/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,asimshankar/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,apark263/tensorflow,yongtang/tensorflow,gunan/tensorflow,arborh/tensorflow,renyi533/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,dancingdan/tensorflow,dongjoon-hyun/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,xodus7/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,alshedivat/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kevin-coder/tensorflow-fork,ghchinoy/tensorflow,DavidNorman/tensorflow,alshedivat/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,apark263/tensorflow,annarev/tensorflow,seanli9jan/tensorflow,theflofly/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,kobejean/tensorflow,girving/tensorflow,ghchinoy/tensorflow,xodus7/tensorflow,ppwwyyxx/tensorflow,asimshankar/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,jbedorf/tensorflow,karllessard/tensorflow,asimshankar/tensorflow,yongtang/tensorflow,xzturn/tensorflow,brchiu/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,hfp/tensorflow-xsmm,adit-chandra/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,gunan/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,ghchinoy/tensorflow,kevin-coder/tensorflow-fork,brchiu/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,theflofly/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,ageron/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,alshedivat/tensorflow,arborh/tensorflow,dongjoon-hyun/tensorflow,ghchinoy/tensorflow,sarvex/tensorflow,apark263/tensorflow,dongjoon-hyun/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,ppwwyyxx/tensorflow,kobejean/tensorflow,yongtang/tensorflow,hfp/tensorflow-xsmm,karllessard/tensorflow,annarev/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,kobejean/tensorflow,gunan/tensorflow,xodus7/tensorflow,frreiss/tensorflow-fred,Bismarrck/tensorflow,girving/tensorflow,jbedorf/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,gunan/tensorflow,dancingdan/tensorflow,arborh/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,Bismarrck/tensorflow,theflofly/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,theflofly/tensorflow,cxxgtxy/tensorflow,ghchinoy/tensorflow,hfp/tensorflow-xsmm,karllessard/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,Intel-tensorflow/tensorflow,alshedivat/tensorflow,karllessard/tensorflow,renyi533/tensorflow,asimshankar/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,theflofly/tensorflow,davidzchen/tensorflow,girving/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,petewarden/tensorflow,asimshankar/tensorflow,petewarden/tensorflow,ghchinoy/tensorflow,aam-at/tensorflow,annarev/tensorflow,dancingdan/tensorflow,xodus7/tensorflow,jendap/tensorflow,xodus7/tensorflow,renyi533/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,dancingdan/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,apark263/tensorflow,Bismarrck/tensorflow,DavidNorman/tensorflow,alshedivat/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,apark263/tensorflow,theflofly/tensorflow,jendap/tensorflow,snnn/tensorflow,kobejean/tensorflow,arborh/tensorflow,jhseu/tensorflow,kevin-coder/tensorflow-fork,girving/tensorflow,kobejean/tensorflow,seanli9jan/tensorflow,alsrgv/tensorflow,Intel-Corporation/tensorflow,DavidNorman/tensorflow,apark263/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,Intel-Corporation/tensorflow,girving/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,alsrgv/tensorflow,kevin-coder/tensorflow-fork,Intel-tensorflow/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,alshedivat/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,hehongliang/tensorflow,jendap/tensorflow,gautam1858/tensorflow,ageron/tensorflow,chemelnucfin/tensorflow,freedomtan/tensorflow,jendap/tensorflow,xzturn/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,brchiu/tensorflow,snnn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,dancingdan/tensorflow,Bismarrck/tensorflow,kobejean/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,seanli9jan/tensorflow,karllessard/tensorflow,annarev/tensorflow,aam-at/tensorflow,apark263/tensorflow,arborh/tensorflow,dancingdan/tensorflow,gunan/tensorflow,alsrgv/tensorflow,brchiu/tensorflow,xzturn/tensorflow,renyi533/tensorflow,brchiu/tensorflow,sarvex/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,jendap/tensorflow,Intel-Corporation/tensorflow,Bismarrck/tensorflow,dongjoon-hyun/tensorflow,jhseu/tensorflow,brchiu/tensorflow,aam-at/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,seanli9jan/tensorflow,yongtang/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,asimshankar/tensorflow,dancingdan/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,jbedorf/tensorflow,snnn/tensorflow,petewarden/tensorflow,dongjoon-hyun/tensorflow,xodus7/tensorflow,alsrgv/tensorflow,annarev/tensorflow,alsrgv/tensorflow,hehongliang/tensorflow,seanli9jan/tensorflow,alshedivat/tensorflow,freedomtan/tensorflow,hehongliang/tensorflow,ageron/tensorflow,snnn/tensorflow,yongtang/tensorflow,hfp/tensorflow-xsmm,adit-chandra/tensorflow