]> git.baikalelectronics.ru Git - uboot.git/commit
CVE-2019-14195: nfs: fix unbounded memcpy with unvalidated length at nfs_readlink_reply
authorliucheng (G) <liucheng32@huawei.com>
Thu, 29 Aug 2019 13:47:54 +0000 (13:47 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Sep 2019 16:37:19 +0000 (11:37 -0500)
commita3bd72ae9fd61350c1b9a3dcea6844b9ebb7c5fa
tree7ccee6d442944ff635fc3962b67ce641c104dd78
parent158718dd31d8a2093d7d564144778f7a12d822be
CVE-2019-14195: nfs: fix unbounded memcpy with unvalidated length at nfs_readlink_reply

This patch adds a check to rpc_pkt.u.reply.data at nfs_readlink_reply.

Signed-off-by: Cheng Liu <liucheng32@huawei.com>
Reported-by: Fermín Serna <fermin@semmle.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/nfs.c