You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++] Unbounded memory allocation in ReadMessageContinued #55476
Describe the bug, including details regarding any error messages, version, and platform.
In the IPC reader, when a subset of column is asked for, we currently allocate an entire buffer with the same size as the body size advertised in the IPC message:
Unfortunately, this can be an unbounded allocation if the advertised body size in the IPC message exceeds the file size. This opens the door to denial of service attacks.
Furthermore, the allocation uses the default memory pool instead of a user-configured memory pool.
Activity