Use strncmp() instead of bcmp(), so that we don't have to find the
minimum of the string lengths before comparing.
Reported by: KASAN
Differential D29463
Fix several dev_clone callbacks to avoid out-of-bounds reads markj on Mar 28 2021, 12:00 AM. Authored by Tags None Referenced Files
Subscribers
Details Use strncmp() instead of bcmp(), so that we don't have to find the Reported by: KASAN
Diff Detail
|