www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/23/01:17:34

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53N5HYI91981682
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53N5HYI91981682
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ylPFnSXk
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A82003857BA5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1745385452;
bh=4orxe0Cy/qbALBLVyU0Hf5X32WQd21TIlTGnhlUMs5k=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=ylPFnSXkbhUo+MJtXYa4atODEXBrKnWRomzvFohuaDnP2RJrJsGVZ01tDwJXLn2m/
zh7YSR0SdqSgu3QXBpFJZoLkwokPL2x+xq3ROovpkeBKT24JGhIwKu9HDR0V/IcwTt
JDXGj4m45nIQNZ9HOhmFiWMEC5zX8HeljtXpSBEY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C07D3857C7B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6C07D3857C7B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745385428; cv=none;
b=dMgGnjPsx5UQIe6mUIpTSe1+/yH8j1IBziXWAghbA/3o92q/Ba9UsS50bAtZGmTHXRUGuH1qQfN37eNJBdZ0URVxm0oidOJayj71T31FWmf4sLHcjjfrbTvHY6HKU2QXa9GQIPjfXpDmUsCANTrSM9wHPRbqzf6TE2189/0ZmJ8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1745385428; c=relaxed/simple;
bh=QANqp0vIdJHHuTdXmjR5yA2n8hXNq3vkk7JMhyILNgo=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=dSpCwFCmWBsxpl0vLwnOP87NmiNtjOgP0dSPGHuQjpXjyt7gy3tYKpyt+nc/LuWRgQh9nCiwSLutV221Dv0MC8TAXngjN5IrLOsQNSdBkSD/l8qeXwgK4ADLYD0LEInxTKnhLBocngdGE2SGutPuBmRtQvCgS8n9hMliciEZL+8=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C07D3857C7B
Message-ID: <172cbec2-4f19-4bc3-b501-c5ffede1e11a@maxrnd.com>
Date: Tue, 22 Apr 2025 22:17:06 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: cygstart: buffer overflow when a URI is passed
(cygutils-1.4.17-[23])
To: cygwin AT cygwin DOT com
References: <502f1b04-bc0e-4aba-b150-7b9ea3c5ba3b AT gmail DOT com>
<aa2914e5-9a39-cc64-09b0-4fb4563a8706 AT t-online DOT de>
<7850c4a6-2683-43f9-9d3b-6f4c164b2cb6 AT maxrnd DOT com>
In-Reply-To: <7850c4a6-2683-43f9-9d3b-6f4c164b2cb6@maxrnd.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Mark Geisert via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Mark Geisert <mark AT maxrnd DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53N5HYI91981682

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:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019