[wxWidgets/wxWidgets] 53901b: Fix out-of-bounds read on trailing % in wxDateTime...

0 views
Skip to first unread message

VZ

unread,
Jun 4, 2026, 5:16:31 PM (6 days ago) Jun 4
to wx-co...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/wxWidgets/wxWidgets
Commit: 53901b80d243b2b75e245768c0e4d66e0f030ae0
https://github.com/wxWidgets/wxWidgets/commit/53901b80d243b2b75e245768c0e4d66e0f030ae0
Author: dxbjavid <dxbj...@gmail.com>
Date: 2026-06-04 (Thu, 04 Jun 2026)

Changed paths:
M src/common/datetimefmt.cpp
M tests/datetime/datetimetest.cpp

Log Message:
-----------
Fix out-of-bounds read on trailing % in wxDateTime::Format()

Add a unit test but restrict it to only the cases when our own function
is used because MSVC CRT strftime() asserts in this case.

Closes #26543.


Commit: 48561fc632f7f12e0916a4651faa319f49baa0be
https://github.com/wxWidgets/wxWidgets/commit/48561fc632f7f12e0916a4651faa319f49baa0be
Author: dxbjavid <dxbj...@gmail.com>
Date: 2026-06-04 (Thu, 04 Jun 2026)

Changed paths:
M src/common/sckaddr.cpp

Log Message:
-----------
Fix off-by-one in hostent/servent pointer list terminator

The h_addr_list/h_aliases/s_aliases copy loops in deepCopyHostent() and
deepCopyServent() reserve N pointer slots for N entries and then write
the terminator with *++q, one slot too far, so the array isn't
terminated right after the last entry and that slot holds copied
address/alias bytes used as a pointer.

Reserve a slot for the terminator and write it with *q.

Closes #26553.


Commit: 41b7f6965c961f80330dfbbc025ac11df6fd29d2
https://github.com/wxWidgets/wxWidgets/commit/41b7f6965c961f80330dfbbc025ac11df6fd29d2
Author: Crementif <26669564+...@users.noreply.github.com>
Date: 2026-06-04 (Thu, 04 Jun 2026)

Changed paths:
M src/msw/listctrl.cpp

Log Message:
-----------
Fix text and column overflow in wxMSW wxListCtrl

Compute the items rectangles ourselves as LVM_GETSUBITEMRECT doesn't
return the correct result in several cases.

Closes #26558.


Commit: ddd2b3fa634e5ceade28c4ea79d43970d34f6942
https://github.com/wxWidgets/wxWidgets/commit/ddd2b3fa634e5ceade28c4ea79d43970d34f6942
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-04 (Thu, 04 Jun 2026)

Changed paths:
M src/msw/joystick.cpp

Log Message:
-----------
Capture "this" explicitly in lambda used in wxMSW wxJoystick code

Avoid warning about implicit "this" capture being deprecated in C++20.


Compare: https://github.com/wxWidgets/wxWidgets/compare/39c73b42f588...ddd2b3fa634e

To unsubscribe from these emails, change your notification settings at https://github.com/wxWidgets/wxWidgets/settings/notifications
Reply all
Reply to author
Forward
0 new messages