raspberrypi / picotool

BSD 3-Clause "New" or "Revised" License
525 stars 86 forks source link

Warning on 'sprintf' while compiling. #60

Closed ernestguillem closed 1 year ago

ernestguillem commented 1 year ago

While compiling picotool with macOS I get the following warning: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]

Is this kept for compatibility reasons or would it be ok to submit a pullrequest with the snprintf variant?

ernestguillem commented 1 year ago

I see the pull request for issue #57 will fix that once it's merged.