<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/u-boot.git/net/nfs.c, branch master</title>
<subtitle>StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/'/>
<updated>2020-05-19T01:19:18+00:00</updated>
<entry>
<title>common: Drop log.h from common header</title>
<updated>2020-05-19T01:19:18+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-10T17:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=f7ae49fc4f363a803dab3be078e93ead8e75a8e9'/>
<id>urn:sha1:f7ae49fc4f363a803dab3be078e93ead8e75a8e9</id>
<content type='text'>
Move this header out of the common header.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>common: Move the image globals into image.h</title>
<updated>2020-01-17T19:02:35+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-12-28T17:45:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1'/>
<id>urn:sha1:8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1</id>
<content type='text'>
These three globals relate to image handling. Move them to the image
header file.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>image: Rename load_addr, save_addr, save_size</title>
<updated>2020-01-17T19:02:35+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-12-28T17:45:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=bb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06'/>
<id>urn:sha1:bb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06</id>
<content type='text'>
These global variables are quite short and generic. In fact the same name
is more often used locally for struct members and function arguments.

Add a image_ prefix to make them easier to distinguish.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>common: Move flash_perror() to flash.h</title>
<updated>2020-01-17T18:26:48+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-12-28T17:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=0ee48252b456f310225fa8dd0f3a9921cfcf3399'/>
<id>urn:sha1:0ee48252b456f310225fa8dd0f3a9921cfcf3399</id>
<content type='text'>
This function belongs more in flash.h than common.h so move it.

Also remove the space before the bracket in some calls.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>common: Move get_ticks() function out of common.h</title>
<updated>2019-12-02T23:23:13+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-11-14T19:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=1045315df0f1bed617f0ee01379a10f543cec501'/>
<id>urn:sha1:1045315df0f1bed617f0ee01379a10f543cec501</id>
<content type='text'>
This function belongs in time.h so move it over and add a comment.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>net: nfs: remove superfluous conversions</title>
<updated>2019-09-04T16:37:19+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2019-09-02T21:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=15eea9a1a8166b4bbab6c02cc426a7cc806ea2ca'/>
<id>urn:sha1:15eea9a1a8166b4bbab6c02cc426a7cc806ea2ca</id>
<content type='text'>
rpc_pkt.u.call.data is an array of uint32_t. There is no need to convert
it to uint32_t *.

memcpy() expects void * as it 1st and 2nd argument. There is no point in
converting pointers to char * before passing them to memcpy().

In ntohl(data[1]) != 0 calling ntohl() is superfluous. If the value is
zero, does not depend on the byte order.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>CVE-2019-14196: nfs: fix unbounded memcpy with a failed length check at nfs_lookup_reply</title>
<updated>2019-09-04T16:37:19+00:00</updated>
<author>
<name>liucheng (G)</name>
<email>liucheng32@huawei.com</email>
</author>
<published>2019-08-29T13:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=5d14ee4e53a81055d34ba280cb8fd90330f22a96'/>
<id>urn:sha1:5d14ee4e53a81055d34ba280cb8fd90330f22a96</id>
<content type='text'>
This patch adds a check to rpc_pkt.u.reply.data at nfs_lookup_reply.

Signed-off-by: Cheng Liu &lt;liucheng32@huawei.com&gt;
Reported-by: Fermín Serna &lt;fermin@semmle.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>CVE-2019-14195: nfs: fix unbounded memcpy with unvalidated length at nfs_readlink_reply</title>
<updated>2019-09-04T16:37:19+00:00</updated>
<author>
<name>liucheng (G)</name>
<email>liucheng32@huawei.com</email>
</author>
<published>2019-08-29T13:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=cf3a4f1e86ecdd24f87b615051b49d8e1968c230'/>
<id>urn:sha1:cf3a4f1e86ecdd24f87b615051b49d8e1968c230</id>
<content type='text'>
This patch adds a check to rpc_pkt.u.reply.data at nfs_readlink_reply.

Signed-off-by: Cheng Liu &lt;liucheng32@huawei.com&gt;
Reported-by: Fermín Serna &lt;fermin@semmle.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>CVE-2019-14194/CVE-2019-14198: nfs: fix unbounded memcpy with a failed length check at nfs_read_reply</title>
<updated>2019-09-04T16:37:19+00:00</updated>
<author>
<name>liucheng (G)</name>
<email>liucheng32@huawei.com</email>
</author>
<published>2019-08-29T13:47:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=aa207cf3a6d68f39d64cd29057a4fb63943e9078'/>
<id>urn:sha1:aa207cf3a6d68f39d64cd29057a4fb63943e9078</id>
<content type='text'>
This patch adds a check to rpc_pkt.u.reply.data at nfs_read_reply.

Signed-off-by: Cheng Liu &lt;liucheng32@huawei.com&gt;
Reported-by: Fermín Serna &lt;fermin@semmle.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>CVE: nfs: fix stack-based buffer overflow in some nfs_handler reply helper functions</title>
<updated>2019-09-04T16:37:19+00:00</updated>
<author>
<name>liucheng (G)</name>
<email>liucheng32@huawei.com</email>
</author>
<published>2019-08-29T13:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=741a8a08ebe5bc3ccfe3cde6c2b44ee53891af21'/>
<id>urn:sha1:741a8a08ebe5bc3ccfe3cde6c2b44ee53891af21</id>
<content type='text'>
This patch adds a check to nfs_handler to fix buffer overflow for CVE-2019-14197,
CVE-2019-14200, CVE-2019-14201, CVE-2019-14202, CVE-2019-14203 and CVE-2019-14204.

Signed-off-by: Cheng Liu &lt;liucheng32@huawei.com&gt;
Reported-by: Fermín Serna &lt;fermin@semmle.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
</feed>
