aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pstore_ram.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-01-14 14:54:48 +0000
committerDavid S. Miller <davem@davemloft.net>2020-01-15 23:05:54 +0100
commitddf420390526ede3b9ff559ac89f58cb59d9db2f (patch)
tree59d5ba99ce47226a07c75cfacff06ea1c444a980 /include/linux/pstore_ram.h
parentMerge tag 'batadv-net-for-davem-20200114' of git://git.open-mesh.org/linux-merge (diff)
downloadlinux-dev-ddf420390526ede3b9ff559ac89f58cb59d9db2f.tar.xz
linux-dev-ddf420390526ede3b9ff559ac89f58cb59d9db2f.zip
net/wan/fsl_ucc_hdlc: fix out of bounds write on array utdm_info
Array utdm_info is declared as an array of MAX_HDLC_NUM (4) elements however up to UCC_MAX_NUM (8) elements are potentially being written to it. Currently we have an array out-of-bounds write error on the last 4 elements. Fix this by making utdm_info UCC_MAX_NUM elements in size. Addresses-Coverity: ("Out-of-bounds write") Fixes: c19b6d246a35 ("drivers/net: support hdlc function for QE-UCC") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pstore_ram.h')
0 files changed, 0 insertions, 0 deletions