mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 20:59:00 +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: 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 {
|
struct InnerBuffer {
|
||||||
u8* data { nullptr };
|
u8* data { nullptr };
|
||||||
size_t size;
|
size_t size { 0 };
|
||||||
};
|
};
|
||||||
|
|
||||||
InnerBuffer* m_write_buffer { nullptr };
|
InnerBuffer* m_write_buffer { nullptr };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue