google / kmsan

KernelMemorySanitizer, a detector of uses of uninitialized memory in the Linux kernel
Other
406 stars 63 forks source link

The return value of 'sscanf()' should be checked #69

Closed QiAnXinCodeSafe closed 4 years ago

QiAnXinCodeSafe commented 4 years ago

https://github.com/google/kmsan/blob/02f2d5aea531fc7c621e64dc9ca7ba59484e2686/drivers/char/tlclk.c#L333

ramosian-glider commented 4 years ago

Most certainly you're right, but that's upstream kernel code. Feel free to report a bug or send a patch upstream.