Discussion:
[PATCH] fs/nfs/nfs_vfsops.c: Fix buffer corruption
(too old to reply)
Michael Jung mijung@gmx.net [nuttx]
2017-12-28 11:13:10 UTC
Permalink
Hello,

while reading larger chunks of data (2048 bytes in my case) from an NFS
server that provides only a maximum of 420 bytes of payload per read
request, nfs_read would write behind the end of the application provided
buffer. The attached patch fixes the issue for me.

Thanks!
Michael
spudarnia@yahoo.com [nuttx]
2017-12-28 12:32:36 UTC
Permalink
Thanks! Commited.


Greg

Continue reading on narkive:
Loading...