[PATCH] staging: vhciq_core: replace snprintf with scnprintf
rohitsarkar5398 at gmail.com
Wed Sep 11 17:38:03 UTC 2019
On Wed, Sep 11, 2019 at 08:24:22PM +0300, Dan Carpenter wrote:
> 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
Sure, thanks a ton!
More information about the devel