forked from luck/tmp_suning_uos_patched
9b367fe770
commit 769b01ea68b6c49dc3cde6adf7e53927dacbd3a8 upstream.
The "sizeof(struct nfs_fh)" is two bytes too large and could lead to
memory corruption. It should be NFS_MAXFHSIZE because that's the size
of the ->data[] buffer.
I reversed the size of the arguments to put the variable on the left.
Fixes:
|
||
---|---|---|
.. | ||
filelayout.c | ||
filelayout.h | ||
filelayoutdev.c | ||
Makefile |