]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
checkpatch.pl: warn also about strcat and sprintf usages
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 18 Jul 2024 11:01:00 +0000 (13:01 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 18 Jul 2024 11:03:45 +0000 (13:03 +0200)
commitae2d087e23e4c7c2f70e7e5d004bdcf933469af5
tree379f8448cd91008e8ac2556da219f73b85fd9020
parentbdcec55c460cec5497ea00542cebd1ae7c5dea41
checkpatch.pl: warn also about strcat and sprintf usages

strcpy, strncpy and sprintf aren't safe, as they don't check
buffer overflows. Change the checkpatch logic to warn about
such usages.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
scripts/checkpatch.pl