mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Kernel: Zero initialize DoubleBuffer::InnerBuffer::size
Found by PVS-Studio.
This commit is contained in:
parent
8a8c51c39a
commit
ddd75db007
Notes:
sideshowbarker
2024-07-17 17:13:24 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/ddd75db007 Pull-request: https://github.com/SerenityOS/serenity/pull/13042 Reviewed-by: https://github.com/IdanHo
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ private:
|
|||
|
||||
struct InnerBuffer {
|
||||
u8* data { nullptr };
|
||||
size_t size;
|
||||
size_t size { 0 };
|
||||
};
|
||||
|
||||
InnerBuffer* m_write_buffer { nullptr };
|
||||
|
|
Loading…
Reference in a new issue