https://github.com/root-project/root
Revision bc0ff27e939ea07db921ec205344e4a24a5aa2b8 authored by Rene Brun on 26 March 2005, 09:48:08 UTC, committed by Rene Brun on 26 March 2005, 09:48:08 UTC
   if(n <=0 || n > fBufSize) return 0;
by a more strict test taking into account the size of the data type)
   if(n <=0 ||n*sizeof(datatype) > fBufSize) return 0;


git-svn-id: http://root.cern.ch/svn/root/trunk@11432 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent fe8ffa8
History
Tip revision: bc0ff27e939ea07db921ec205344e4a24a5aa2b8 authored by Rene Brun on 26 March 2005, 09:48:08 UTC
In the TBuffer Read functions, replace the test
Tip revision: bc0ff27

back to top