Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336662 - xdc.runtime.System should have System_snprintf
Summary: xdc.runtime.System should have System_snprintf
Status: CLOSED FIXED
Alias: None
Product: RTSC
Classification: Technology
Component: Runtime (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Vikram Adiga CLA
QA Contact:
URL:
Whiteboard: targets: 3.25.00
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 17:13 EST by Todd Mullanix CLA
Modified: 2013-04-04 17:08 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Mullanix CLA 2011-02-08 17:13:00 EST
System_sprintf has the risk of buffer overflow (just like sprintf). In C99, there is snprintf. So...System should have a System_snprintf also.
Comment 1 Vikram Adiga CLA 2012-01-31 20:28:16 EST
Added System_snprintf() and System_vsnprintf() as per C99. 

The changes will be available in the next release of xdc tree (xdc-z05)