[PATCH v5 0/3] Re: [PATCH v4 2/2] stdio-common: Fix buffer overflow in scanf %mc [BZ #34008]

Rocket Ma marocketbd@gmail.com
Tue Apr 14 02:17:05 GMT 2026


One commit for regression, one commit to directly fix the overflow, and
one commit to refactor array expansion.

Rocket Ma (3):
  stdio-common: Add regression test [BZ #34008]
  stdio-common: Fix buffer overflow in scanf %mc [BZ #34008]
  stdio-common: Optimize %ms expansion for best fit

 stdio-common/Makefile              |  4 ++
 stdio-common/tst-vfscanf-bz34008.c | 48 ++++++++++++++++++++
 stdio-common/vfscanf-internal.c    | 70 +++++++++++++++++++-----------
 3 files changed, 97 insertions(+), 25 deletions(-)
 create mode 100644 stdio-common/tst-vfscanf-bz34008.c

-- 
2.53.0


More information about the Libc-alpha mailing list