Re: wxIsAbsolutePath function is affected by a potential bug (#18214)

9 views
Skip to first unread message

Richard Thomson

unread,
Jul 12, 2026, 10:33:13 PM (2 days ago) Jul 12
to wx-...@googlegroups.com, wxtrac, Author
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#18214)

I checked current master and this appears to have been fixed already.

The invalid short-string access in wxIsAbsolutePath() was addressed by commit 9d0aee5, which checks that the path has at least two characters before reading filename[1].

The current test suite also covers the Windows one-character case with wxIsAbsolutePath("c"), and the focused FileFunctions::IsAbsolutePath test passes locally.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.Message ID: <wxWidgets/wxWidgets/issues/18214/4953908834@github.com>

Reply all
Reply to author
Forward
0 new messages