Commit 684c7377 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

framing: check for overflow on growing buffer

newsize is a long, but storage is an int. This means the allocation
could succeed but storage would overflow.

Closes #2300
parent 0bbcba4e
Pipeline #2110 passed with stage
in 1 minute and 1 second