add a protection in case result is larger than buffer.
add a protection in case result is larger than buffer.


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

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