OSDN Git Service

STPK-1677 Fix Klocwork issue #94943
authorPatrick Porlan <patrick.porlan@intel.com>
Tue, 3 Jun 2014 09:16:26 +0000 (11:16 +0200)
committersuyyala <sridhar.uyyala@intel.com>
Sat, 7 Jun 2014 16:37:37 +0000 (09:37 -0700)
commite32477b608275457a82213689b72706630a6fec1
tree3b9e4bf3b2151db34e8a15532d8f3fc2ad0decc1
parenteb4a8cf7a1b4860509cb8f912d9a5cc4ca57d571
STPK-1677 Fix Klocwork issue #94943

The issue was with sprintf possibly returning a negative
value, which would really be unexpected, but handle it
anyway.

Issue: STPK-1677

Change-Id: I28b4251cff63c5f1704786025eab2121e8fa101b
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
utils.c