Skip to content
Snippets Groups Projects
Commit a6a46c49 authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Merge branch 'ATLASRECTS-4560' into 'master'

22.0 coverity fix: ATLASRECTS-4560

Closes ATLASRECTS-4560

See merge request atlas/athena!14667
parents 8a1dacf0 5f1cc5ca
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ std::istream& operator>>(std::istream& is, FloatArrayStore& store){ ...@@ -88,7 +88,7 @@ std::istream& operator>>(std::istream& is, FloatArrayStore& store){
return is; return is;
} }
is >> size ; is >> size ;
if (size>=0){ if ((size>=0) and (size<maxSize)){
data.resize(size) ; data.resize(size) ;
for(int i=0; i<size; ++i) is >> (data[i]) ; for(int i=0; i<size; ++i) is >> (data[i]) ;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment