From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 1210D47EBE for ; Mon, 30 Oct 2023 13:52:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4543368CC56; Mon, 30 Oct 2023 15:52:18 +0200 (EET) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4000C68CAD6 for ; Mon, 30 Oct 2023 15:52:11 +0200 (EET) Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-6d2f002862cso372931a34.0 for ; Mon, 30 Oct 2023 06:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698673929; x=1699278729; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AxhAvvU5WC+5l5FznKHKj7B0by+o54hEtDS1FHt8NIc=; b=EO1VkpPf8QZOL2WdjKPuRNtzdu99ipsQA8zFB9orZpNpnoLorVVMIomVH1PtPA1P9u GhiV8oyNTtVB1ZNcIWkUgj6RYlivmdZFWwGuUidkIlgkd+Puvomju99Z6h/LkOXiwA3x G7qObzCKlkOL/8kgMoIE/X2vYRPLDvT3L+n/k6a061FO0ArkIw4i7+jl+Tve3DGX6xga xXxleMpSh3S2iq+BkbfjhoxtvamG+MC9JGInePdqCzi1JiPu1HghOZSxCNCFrg2SK/8R JfrlCcbtQ798/5kEC0qipuGbz5CGCnt23+v8oMOU6rRBVIfOKkqUGYi5i70ragFr5JiL DaAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698673929; x=1699278729; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AxhAvvU5WC+5l5FznKHKj7B0by+o54hEtDS1FHt8NIc=; b=pXaAwJQfSncW56jMafCjTfu4N6XfUyKCggSgSwdepF/5UoJj9rbyRdm61TSCZgb/SU 76t/TpiN6B2MOuh8ki9d1vp+1u/ZLwEb0TiMlroWbwk4wW/7VMiBX0eb7rN6OQp/hZAN /9XgwCW7Fm4mKH4zKRgk/Jf/B8eEtalOriVTvK7bE4yssZhO5VadzJrXPi61KUqpCjMc INwdV32dQUPGexHB7blc5k1xNPgy/q33Lue8HOppmjEpN2A265y3jx74gFJ03dczyimO pIRWLHnz1uvUlDt2OK1vw0KG1JgAlGlDeeWinU8UERz7vq4Dvn/qJsYZMzwPgZC4sj+P vDlg== X-Gm-Message-State: AOJu0YwZWBHcFFD4+eeQL4uQ0MuN2DovzKXAr2oGBq9a5Vse1p8n6FEn d8HaIcJwJzAaA3SYp9MNb18+wDeSLMBgaA== X-Google-Smtp-Source: AGHT+IHjS00B65txxm2X+mo4SX+Vqk3Px8HckHraw7caoKZJONqOnK2qkJnELC5lq5kI7CzFS/oadg== X-Received: by 2002:a05:6830:390a:b0:6c0:c1ba:8f78 with SMTP id br10-20020a056830390a00b006c0c1ba8f78mr10368156otb.0.1698673929157; Mon, 30 Oct 2023 06:52:09 -0700 (PDT) Received: from [192.168.1.35] (c-68-56-149-176.hsd1.mi.comcast.net. [68.56.149.176]) by smtp.gmail.com with ESMTPSA id do10-20020a05622a478a00b004181b41e793sm3421223qtb.50.2023.10.30.06.52.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 06:52:07 -0700 (PDT) Message-ID: <532074f8-ea25-4338-a3c0-f483e4989377@gmail.com> Date: Mon, 30 Oct 2023 09:52:06 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US-large To: ffmpeg-devel@ffmpeg.org References: <20231029124723.398581-1-leo.izen@gmail.com> <8943e8c0-f382-4b54-8761-4ce57866bf5f@gmail.com> From: Leo Izen In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH v2] avformat/hls: use av_strlcopy instead of strncpy X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 10/30/23 03:51, Nicolas George wrote: > Leo Izen (12023-10-29): >> But it will be nul-terminated in either case, so >> there's no real difference between the old and new code, other than the >> warning. > > No real difference = you are not fixing the bug. There should be a > difference: user data should not be silently truncated. > There isn't really a bug here, just an extraneous compiler warning. - Leo Izen (Traneptora) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".