Fwd: A potential bug in das u-boot nfs implemnetation

jianqiang wang wjq.sec at gmail.com
Mon Jun 3 16:48:57 CEST 2024


Hi,

I sent this email to das u-boot one month ago, however, I haven't
gotten a reply yet. Do you know what happened?

Best

---------- Forwarded message ---------
发件人: jianqiang wang <wjq.sec at gmail.com>
Date: 2024年5月1日周三 16:14
Subject: A potential bug in das u-boot nfs implemnetation
To: <u-boot at lists.denx.de>


Dear all

I found a potential bug in the das-boot network filesystem
implementation. I tried to mount a remote file system in U-boot.
However, it failed. I checked the network packet. The server said it
was a bad directory handler. After deeply checking the packet field, I
found that u-boot calculated the wrong length for the directory
handler and added it to the packet. After I commented line 381 in
net/nfs.c: *p++ = htonl(dirfh3_length); It worked. Please check if it
is a bug implementation.

Best regards


More information about the U-Boot mailing list