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
Commit 41cb98a
Browse filesBrowse the repository at this point in the historyBrowse files
the container size precheck multiplied a wire-controlled element count by
the per-element minimum size in 32-bit arithmetic, so a crafted list, set
or map header could wrap the product down to a small or zero value and slip
past the maxMessageSize guard before any allocation was bounded.
widen the multiplication to a fixed-width 64-bit type and widen the
checkReadBytesAvailable parameter to match, in both the c++ protocols and
the c_glib binary and compact readers, so the product can no longer overflow
on LLP64 platforms such as Windows where long is only 32-bit. regression
tests cover the three c++ protocols.
Client: cpp,c_glib
0 commit comments