aboutsummaryrefslogtreecommitdiff
path: root/docs/socket.html
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2026-08-29 17:19:19 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2026-08-29 17:22:41 +0200
commit827ae20771d34912a8f79b50dc68e6430945b9eb (patch)
tree34357203cc3431096167a7bf6feb4ff2dca1ee8b /docs/socket.html
parent8cbbce56e64c84b53593c815f6dcdd9214897b74 (diff)
downloadluasocket-827ae20771d34912a8f79b50dc68e6430945b9eb.tar.gz
luasocket-827ae20771d34912a8f79b50dc68e6430945b9eb.tar.bz2
luasocket-827ae20771d34912a8f79b50dc68e6430945b9eb.zip
fix(receive): guard numeric pattern against size_t overflow on cast
Same class of bug as the maxsize cast: a double larger than SIZE_MAX cast to size_t is undefined behavior. Bound-check the numeric receive pattern before the cast, and cover it with a test.
Diffstat (limited to 'docs/socket.html')
0 files changed, 0 insertions, 0 deletions