encoding text into a string with sprintf() may invites buffer overflows.
Merge pull request #1 from soarpenguin/dev

encoding text into a string with sprintf() may invites buffer overflows.