diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2024-12-04 14:34:02 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-05 08:47:21 +0100 |
commit | b21b03ca624b89caeedfe58430cea4b40317d39f (patch) | |
tree | 1ca8de95de57c2939550037292ed3d9d7fe2f669 /lwip/options.c | |
parent | 53351d0e35568ad4c0a908942b483c85479a3fba (diff) | |
download | hurd-b21b03ca624b89caeedfe58430cea4b40317d39f.tar.gz hurd-b21b03ca624b89caeedfe58430cea4b40317d39f.tar.bz2 hurd-b21b03ca624b89caeedfe58430cea4b40317d39f.zip |
libstore: Fix zero store writes
We discard any written data, but we still need to set *amount. Not doing
that is undefined behavior, and causes the write to appear to fail. This
is the cause of a libzstd test failure on GNU/Hurd in particular.
Reported-by: Diego Nieto Cid <dnietoc@gmail.com>
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-ID: <20241204113402.540235-1-bugaevc@gmail.com>
Diffstat (limited to 'lwip/options.c')
0 files changed, 0 insertions, 0 deletions