Add a protection in TPad::ResizePad in case of wrong pad parameters. Without this protection, the OpenPixmap or ResizePixmap crashes with the message "Error in <RootX11ErrorHandler>: BadValue (integer parameter out of range for operation)" resulting in a frozen xterm.
Add a protection in TPad::ResizePad in case of wrong pad parameters.
Without this protection, the OpenPixmap or ResizePixmap crashes with
the message "Error in <RootX11ErrorHandler>: BadValue (integer parameter out of range for operation)"
resulting in a frozen xterm.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@2762 27541ba8-7e3a-0410-8455-c3a389f83636

Dr15Jones/root,gbitzes/root,simonpf/root,omazapa/root-old,mattkretz/root,mattkretz/root,sawenzel/root,tc3t/qoot,evgeny-boger/root,vukasinmilosevic/root,0x0all/ROOT,thomaskeck/root,perovic/root,thomaskeck/root,georgtroska/root,Y--/root,mkret2/root,satyarth934/root,gbitzes/root,gbitzes/root,sirinath/root,smarinac/root,Duraznos/root,dfunke/root,Dr15Jones/root,krafczyk/root,agarciamontoro/root,buuck/root,olifre/root,root-mirror/root,kirbyherm/root-r-tools,thomaskeck/root,agarciamontoro/root,Dr15Jones/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,pspe/root,ffurano/root5,mattkretz/root,vukasinmilosevic/root,root-mirror/root,esakellari/my_root_for_test,olifre/root,satyarth934/root,thomaskeck/root,olifre/root,sirinath/root,olifre/root,thomaskeck/root,nilqed/root,krafczyk/root,ffurano/root5,beniz/root,smarinac/root,agarciamontoro/root,jrtomps/root,alexschlueter/cern-root,nilqed/root,CristinaCristescu/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,mattkretz/root,perovic/root,sawenzel/root,karies/root,abhinavmoudgil95/root,zzxuanyuan/root,simonpf/root,Y--/root,0x0all/ROOT,dfunke/root,sirinath/root,georgtroska/root,CristinaCristescu/root,bbockelm/root,sbinet/cxx-root,mhuwiler/rootauto,georgtroska/root,sbinet/cxx-root,satyarth934/root,simonpf/root,veprbl/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,veprbl/root,buuck/root,vukasinmilosevic/root,arch1tect0r/root,tc3t/qoot,sbinet/cxx-root,cxx-hep/root-cern,omazapa/root-old,alexschlueter/cern-root,alexschlueter/cern-root,sirinath/root,strykejern/TTreeReader,omazapa/root-old,sawenzel/root,omazapa/root-old,abhinavmoudgil95/root,georgtroska/root,esakellari/my_root_for_test,olifre/root,zzxuanyuan/root-compressor-dummy,dfunke/root,pspe/root,georgtroska/root,gbitzes/root,0x0all/ROOT,arch1tect0r/root,agarciamontoro/root,tc3t/qoot,abhinavmoudgil95/root,agarciamontoro/root,omazapa/root-old,Y--/root,0x0all/ROOT,davidlt/root,olifre/root,0x0all/ROOT,esakellari/my_root_for_test,olifre/root,bbockelm/root,arch1tect0r/root,pspe/root,bbockelm/root,alexschlueter/cern-root,georgtroska/root,sirinath/root,bbockelm/root,strykejern/TTreeReader,pspe/root,veprbl/root,gbitzes/root,gganis/root,karies/root,satyarth934/root,thomaskeck/root,veprbl/root,cxx-hep/root-cern,arch1tect0r/root,beniz/root,sirinath/root,lgiommi/root,Duraznos/root,arch1tect0r/root,pspe/root,Y--/root,CristinaCristescu/root,karies/root,buuck/root,olifre/root,dfunke/root,sbinet/cxx-root,beniz/root,mattkretz/root,krafczyk/root,dfunke/root,gganis/root,zzxuanyuan/root-compressor-dummy,dfunke/root,krafczyk/root,ffurano/root5,sirinath/root,davidlt/root,tc3t/qoot,karies/root,thomaskeck/root,ffurano/root5,evgeny-boger/root,Duraznos/root,CristinaCristescu/root,mhuwiler/rootauto,evgeny-boger/root,lgiommi/root,agarciamontoro/root,abhinavmoudgil95/root,CristinaCristescu/root,beniz/root,omazapa/root,mkret2/root,karies/root,davidlt/root,omazapa/root,krafczyk/root,omazapa/root,veprbl/root,ffurano/root5,esakellari/root,tc3t/qoot,agarciamontoro/root,krafczyk/root,BerserkerTroll/root,mkret2/root,BerserkerTroll/root,sbinet/cxx-root,BerserkerTroll/root,gbitzes/root,zzxuanyuan/root,gganis/root,mhuwiler/rootauto,esakellari/root,mkret2/root,strykejern/TTreeReader,bbockelm/root,olifre/root,mhuwiler/rootauto,nilqed/root,olifre/root,mkret2/root,esakellari/root,simonpf/root,esakellari/root,sirinath/root,esakellari/root,kirbyherm/root-r-tools,omazapa/root,Duraznos/root,root-mirror/root,beniz/root,vukasinmilosevic/root,nilqed/root,sbinet/cxx-root,mattkretz/root,CristinaCristescu/root,zzxuanyuan/root,bbockelm/root,gbitzes/root,Dr15Jones/root,veprbl/root,simonpf/root,lgiommi/root,strykejern/TTreeReader,BerserkerTroll/root,gganis/root,Y--/root,vukasinmilosevic/root,omazapa/root,agarciamontoro/root,mkret2/root,evgeny-boger/root,Y--/root,0x0all/ROOT,zzxuanyuan/root,smarinac/root,georgtroska/root,agarciamontoro/root,esakellari/my_root_for_test,ffurano/root5,Duraznos/root,mattkretz/root,bbockelm/root,mkret2/root,smarinac/root,nilqed/root,tc3t/qoot,omazapa/root,sbinet/cxx-root,georgtroska/root,tc3t/qoot,lgiommi/root,mkret2/root,CristinaCristescu/root,beniz/root,simonpf/root,satyarth934/root,cxx-hep/root-cern,strykejern/TTreeReader,simonpf/root,bbockelm/root,Duraznos/root,mhuwiler/rootauto,zzxuanyuan/root,perovic/root,gganis/root,esakellari/my_root_for_test,simonpf/root,gganis/root,gganis/root,Y--/root,mkret2/root,kirbyherm/root-r-tools,krafczyk/root,CristinaCristescu/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,gganis/root,perovic/root,buuck/root,dfunke/root,pspe/root,mhuwiler/rootauto,mhuwiler/rootauto,jrtomps/root,alexschlueter/cern-root,esakellari/my_root_for_test,georgtroska/root,omazapa/root-old,buuck/root,gbitzes/root,kirbyherm/root-r-tools,evgeny-boger/root,satyarth934/root,pspe/root,mkret2/root,beniz/root,smarinac/root,gganis/root,omazapa/root-old,buuck/root,esakellari/my_root_for_test,zzxuanyuan/root,esakellari/my_root_for_test,lgiommi/root,karies/root,omazapa/root,smarinac/root,evgeny-boger/root,Y--/root,veprbl/root,jrtomps/root,agarciamontoro/root,nilqed/root,evgeny-boger/root,karies/root,BerserkerTroll/root,Y--/root,Duraznos/root,esakellari/root,esakellari/root,davidlt/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,kirbyherm/root-r-tools,perovic/root,dfunke/root,evgeny-boger/root,vukasinmilosevic/root,agarciamontoro/root,georgtroska/root,simonpf/root,beniz/root,kirbyherm/root-r-tools,vukasinmilosevic/root,jrtomps/root,sawenzel/root,Duraznos/root,tc3t/qoot,abhinavmoudgil95/root,karies/root,karies/root,krafczyk/root,satyarth934/root,pspe/root,nilqed/root,satyarth934/root,0x0all/ROOT,sawenzel/root,zzxuanyuan/root-compressor-dummy,tc3t/qoot,root-mirror/root,lgiommi/root,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,0x0all/ROOT,beniz/root,krafczyk/root,cxx-hep/root-cern,mattkretz/root,esakellari/root,davidlt/root,lgiommi/root,abhinavmoudgil95/root,perovic/root,strykejern/TTreeReader,kirbyherm/root-r-tools,pspe/root,Y--/root,gbitzes/root,omazapa/root-old,0x0all/ROOT,dfunke/root,arch1tect0r/root,Duraznos/root,pspe/root,arch1tect0r/root,Dr15Jones/root,esakellari/my_root_for_test,BerserkerTroll/root,CristinaCristescu/root,zzxuanyuan/root,davidlt/root,veprbl/root,abhinavmoudgil95/root,sirinath/root,BerserkerTroll/root,nilqed/root,perovic/root,arch1tect0r/root,cxx-hep/root-cern,gbitzes/root,gganis/root,mhuwiler/rootauto,CristinaCristescu/root,nilqed/root,evgeny-boger/root,beniz/root,zzxuanyuan/root-compressor-dummy,esakellari/root,davidlt/root,bbockelm/root,dfunke/root,omazapa/root,sirinath/root,veprbl/root,arch1tect0r/root,mattkretz/root,karies/root,buuck/root,abhinavmoudgil95/root,omazapa/root,Dr15Jones/root,strykejern/TTreeReader,BerserkerTroll/root,jrtomps/root,zzxuanyuan/root,sawenzel/root,smarinac/root,esakellari/my_root_for_test,sawenzel/root,smarinac/root,nilqed/root,davidlt/root,smarinac/root,satyarth934/root,perovic/root,sawenzel/root,root-mirror/root,root-mirror/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,omazapa/root,arch1tect0r/root,thomaskeck/root,thomaskeck/root,mkret2/root,mhuwiler/rootauto,evgeny-boger/root,alexschlueter/cern-root,karies/root,root-mirror/root,sbinet/cxx-root,omazapa/root-old,vukasinmilosevic/root,sawenzel/root,BerserkerTroll/root,abhinavmoudgil95/root,buuck/root,mhuwiler/rootauto,davidlt/root,evgeny-boger/root,veprbl/root,perovic/root,mhuwiler/rootauto,abhinavmoudgil95/root,jrtomps/root,bbockelm/root,root-mirror/root,sawenzel/root,CristinaCristescu/root,thomaskeck/root,esakellari/root,pspe/root,davidlt/root,zzxuanyuan/root,simonpf/root,buuck/root,jrtomps/root,jrtomps/root,olifre/root,ffurano/root5,simonpf/root,vukasinmilosevic/root,gganis/root,root-mirror/root,veprbl/root,omazapa/root-old,alexschlueter/cern-root,gbitzes/root,zzxuanyuan/root,perovic/root,vukasinmilosevic/root,lgiommi/root,BerserkerTroll/root,cxx-hep/root-cern,mattkretz/root,lgiommi/root,davidlt/root,sbinet/cxx-root,cxx-hep/root-cern,sirinath/root,krafczyk/root,mattkretz/root,Y--/root,sbinet/cxx-root,zzxuanyuan/root,vukasinmilosevic/root,jrtomps/root,omazapa/root,cxx-hep/root-cern,buuck/root,jrtomps/root,root-mirror/root,jrtomps/root,root-mirror/root,abhinavmoudgil95/root,BerserkerTroll/root,krafczyk/root,sawenzel/root,Duraznos/root,arch1tect0r/root,Duraznos/root,esakellari/root,perovic/root,dfunke/root,tc3t/qoot,Dr15Jones/root,zzxuanyuan/root,nilqed/root,smarinac/root,beniz/root,lgiommi/root,buuck/root