carp-lang / Carp

A statically typed lisp, without a GC, for real-time applications.
Apache License 2.0
5.47k stars 173 forks source link

chore: remove usage of sprintf #1453

Closed hellerve closed 1 year ago

hellerve commented 1 year ago

As discussed in #1451, we’re using sprintf in some places. It should always be safe, but I changed it to snprintf anyway, just to make sure. Better safe than sorry, usually.

Cheers