Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-23 Thread Mark Geisert via Cygwin
On 4/23/2025 3:59 AM, Christian Franke via Cygwin wrote: Mark Geisert via Cygwin wrote: Drat, typo alert: It looks to me like that 'if' statement should read    if (mbstowcs (*wcs_path, *mbs_path, len) ...     if (mbstowcs (*wcspath, mbs_path, len) ... Use 'len + 1', otherwise the result

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-23 Thread Christian Franke via Cygwin
Mark Geisert via Cygwin wrote: Drat, typo alert: It looks to me like that 'if' statement should read    if (mbstowcs (*wcs_path, *mbs_path, len) ...     if (mbstowcs (*wcspath, mbs_path, len) ... Use 'len + 1', otherwise the result would possibly be not null terminated. POSIX says: "The a

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Drat, typo alert: It looks to me like that 'if' statement should read   if (mbstowcs (*wcs_path, *mbs_path, len) ... if (mbstowcs (*wcspath, mbs_path, len) ... ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Hi Christian, On 4/12/2025 9:37 AM, Christian Franke via Cygwin wrote: ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https:

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-21 Thread Mark Geisert via Cygwin
Hi Christian, On 4/12/2025 9:37 AM, Christian Franke via Cygwin wrote: ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https:

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-12 Thread Christian Franke via Cygwin
ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https://www.google.com *** buffer overflow detected ***: terminated Aborted P

cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-12 Thread ggl329 via Cygwin
Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils1.4.17-3 $ cygstart https://www.google.com *** buffer overflow detected ***: terminated Aborted $ cygcheck -dc | grep cyguti