diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2022-02-27 23:16:50 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-27 20:22:15 +0100 |
commit | 3843b8c0a14a1131911032dc78098eb2e3e826b0 (patch) | |
tree | 5e3bbbfd3e96caa04547bc02180721f0017578b6 /Userland/Libraries/LibCore | |
parent | 9d70f0383f97f13be78e30d3e3eba14b6cfd8de2 (diff) | |
download | serenity-3843b8c0a14a1131911032dc78098eb2e3e826b0.zip |
AK: Perform a resize in ByteBuffer::get_bytes_for_writing()
ByteBuffer::get_bytes_for_writing() was only ensuring capacity before
this patch. The method needs to call resize to register the appended
data, otherwise it will be overwritten with next data addition.
Diffstat (limited to 'Userland/Libraries/LibCore')
0 files changed, 0 insertions, 0 deletions