rock-core / base-types

C/C++ and Ruby definition of the base types in Rock
6 stars 40 forks source link

Changed "sprintf" to "snprintf" #156

Closed kozmer closed 3 years ago

kozmer commented 3 years ago

Changed to snprintf to prevent potential Buffer Overflow because sprintf doesn't check the length of the destination buffer.