[PATCH 2/2 v2] msvcrt: Update size checks for secure scanf versions

Piotr Caban piotr at codeweavers.com
Mon Jul 9 07:20:02 CDT 2018


From: Michał Janiszewski <janisozaur at gmail.com>

Signed-off-by: Michał Janiszewski <janisozaur at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
v2:
  - add more tests
  - write to the buffer after doing size check

  dlls/msvcrt/scanf.h       | 4 ++--
  dlls/msvcrt/tests/scanf.c | 9 ++++++++-
  2 files changed, 10 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-msvcrt-Update-size-checks-for-secure-scanf-versions.txt
Type: text/x-patch
Size: 2216 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180709/ddec92e0/attachment.bin>


More information about the wine-devel mailing list