[PATCH] staging: vhciq_core: replace snprintf with scnprintf

Dan Carpenter dan.carpenter at oracle.com
Wed Sep 11 17:24:22 UTC 2019

On Wed, Sep 11, 2019 at 08:33:00PM +0530, Rohit Sarkar wrote:
> There are a lot of usages of "snprintf" throughout the staging
> directory (315 to be exact)
> Would it be worthwhile to find ones that may cause an information leak
> and replace them with "scnprintf"?

A lot of times it's really easy to see that the uses are safe, so
snprintf() is fine in that case.  If it's not obviously safe then change

dan carpenter

More information about the devel mailing list