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> <7850c4a6-2683-43f9-9d3b-6f4c164b2cb6 AT maxrnd DOT com> Content-Language: en-US In-Reply-To: <7850c4a6-2683-43f9-9d3b-6f4c164b2cb6@maxrnd.com> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mark Geisert via Cygwin Reply-To: Mark Geisert Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit 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