Replace sprintf with snprintf to make safe
authorRoland Schulz <roland@utk.edu>
Tue, 23 Oct 2012 07:23:24 +0000 (03:23 -0400)
committerRoland Schulz <roland@utk.edu>
Tue, 23 Oct 2012 15:23:23 +0000 (11:23 -0400)
commit42d765ed29d699d37bba575a979a0a897bf5baa6
treeea6950cb399be9d9f459e72f16327985e737feb9
parentc61e2d0315a3f833376e624793c6ff4ee1907387
Replace sprintf with snprintf to make safe

The sprintf could cause buffer overflows for large numbers.

Change-Id: I3cc3554710e199c9f961bd68b444836863a9469f
src/mdlib/gmx_wallcycle.c