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 C781547151 for ; Mon, 9 Oct 2023 21:02:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5012368C946; Tue, 10 Oct 2023 00:01:58 +0300 (EEST) Received: from arashi.greysector.net (arashi.greysector.net [51.68.141.79]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0FB5468C7A6 for ; Tue, 10 Oct 2023 00:01:52 +0300 (EEST) Received: from wswcmencrrcs93.greysector.net (46.205.209.146.nat.ftth.dynamic.t-mobile.pl [46.205.209.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by arashi.greysector.net (Postfix) with ESMTPSA id 5F88C173E for ; Mon, 9 Oct 2023 23:01:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 arashi.greysector.net 5F88C173E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greysector.net; s=default; t=1696885311; bh=KNKDgkgFNhNJLy+cvtDO1cM6Fxbcv90IbvaL5xHFgXM=; h=Date:From:To:Subject:References:In-Reply-To:From; b=jgdneqWa0lrKaQ2KJJdxzCAeUgMW0mhbl63IO6cWviMh9lmMphjOfk31sGKD5OUKt APYW84nmm1haCC8IFCiiz3dOF5o/SJylkQoRHtfkYVayDA+4bFCSX5b/0ed2P5Et8N 9cszFU+ltXx/yt8VWBUK+/TkU+pikz4c9MO/S1ZM= Date: Mon, 9 Oct 2023 23:01:50 +0200 From: Dominik 'Rathann' Mierzejewski To: ffmpeg-devel@ffmpeg.org Message-ID: References: <20230225152658.3086653-1-mypopydev@gmail.com> <20230225152658.3086653-2-mypopydev@gmail.com> <77af5b6c-95d7-5ed7-6bdc-dfba720d1de6@mail.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <77af5b6c-95d7-5ed7-6bdc-dfba720d1de6@mail.de> Subject: [FFmpeg-devel] [6.0] Segmentation fault in graph_parse() (was: [PATCH 2/2] fftools/ffmpeg_filter: initialize the) 'o' to silence the warning 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Saturday, 25 February 2023 at 18:49, Thilo Borgmann wrote: > Am 25.02.23 um 16:26 schrieb Jun Zhao: > > From: Jun Zhao > > > > silence the warning: variable 'o' is used uninitialized whenever > > '&&' condition is false > > > > Signed-off-by: Jun Zhao > > --- > > fftools/ffmpeg_filter.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > LGTM. Sorry to dig up an old thread, but this actually fixes a segmentation fault when passing a non-existent filter option, so please make sure it's back-ported to the next 6.0.x release. To reproduce: ffmpeg -y -f rawvideo -s 1x1 -i /dev/zero -vf palettegen=doesnt_exist=64 dummy.png This was reported in RPM Fusion bugzilla: https://bugzilla.rpmfusion.org/show_bug.cgi?id=6773 5.1.3 is not affected, only 6.0. Regards, Dominik -- Fedora https://fedoraproject.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan _______________________________________________ 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".