summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorLv Ruyi <lv.ruyi@zte.com.cn>2021-10-09 11:59:00 +0300
committerThierry Reding <treding@nvidia.com>2021-10-18 17:04:01 +0300
commit711e26c00e4c7b7cef0420c76a61e6d818e12687 (patch)
tree04c0eb97cd124a46bcff333e6a32e8197e544011 /security
parentf11c34bddf8cd2a3107a7d11b6446c66deda9590 (diff)
downloadlinux-711e26c00e4c7b7cef0420c76a61e6d818e12687.tar.xz
firmware: tegra: Fix error application of sizeof() to pointer
Application of sizeof() to pointer yields the number of bytes of the pointer, but it should use the length of buffer in the code. Fixes: 06c2d9a078ab ("firmware: tegra: Reduce stack usage") Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions