Skip to content
Snippets Groups Projects
Commit 8618ade2 authored by Rene Brun's avatar Rene Brun
Browse files

Use snprintf. fix coverity CID 13956

git-svn-id: http://root.cern.ch/svn/root/trunk@35875 27541ba8-7e3a-0410-8455-c3a389f83636
parent c8b0241b
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ TString TDsKey::GetKey() const
Int_t lUrr = fUrr.GetSize();
for (int i=0;i<lUrr;i++){
tk +=".";
sprintf(ubuf,"%010u",fUrr[i]);
snprintf(ubuf,12,"%010u",fUrr[i]);
tk +=ubuf;
}
return tk;
......
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