diff options
author | Bernd Schubert <bschubert@ddn.com> | 2024-03-05 18:09:33 +0100 |
---|---|---|
committer | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-03-05 23:58:49 +0100 |
commit | 9e35addc358375c9228fcc2d5df780e9f4fef164 (patch) | |
tree | 5eb506e43c45788329da4dd4ca785c35a7a8461b /test | |
parent | 6bda4091d4cc67e8f24cd7cb8dc93d076e115e27 (diff) | |
download | libfuse-9e35addc358375c9228fcc2d5df780e9f4fef164.tar.gz |
fusermount: Fix head-buffer-overflow in extract_x_options
Commit 74b1df2e introduced a heap-buffer-overflow, as
allocated memory was not initialized and extract_x_options
was also not checking for the remaining buffer size.
Fix is to initialize the buffer and to also not exceed the buffer
size. Actually not exceeding buffer size is rather complex with C
and introduced quite some code changes.
Also fixed is a memory leak of allocated buffers in the commit
mentioned above.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions