linux-6.14/arch/arm64/lib/crc-t10dif-glue.c bug report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

Static analyser cppcheck says:

 linux-6.14/arch/arm64/lib/crc-t10dif-glue.c:53:33: error: Using pointer to local variable 'buf' that is out of scope. [invalidLifetime]

Source code is

    return crc_t10dif_generic(crc, data, length);

but this line

            data = buf;

looks very suspicious. Suggest move local variable buf out
to file scope.

Regards

David Binderman





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux