sudo-project / sudo

Utility to execute a command as another user
https://www.sudo.ws
Other
1.15k stars 208 forks source link

Give every printf-like function restrict qualifiers #287

Closed AtariDreams closed 1 year ago

AtariDreams commented 1 year ago

The format value has to be a string literal, every time.

Otherwise, you are not using these functions correctly. To reinforce this fact, I putrestrict over every non-contrib example of this I could find.