1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
3 Date: Fri, 3 Mar 2023 18:40:22 +0000
4 Subject: [PATCH] imagesequencesrc: Properly set default location
6 Noticed this because the generic_states test kept segfaulting at random.
7 GLibC 2.37 can crash when NULL is supplied as a format string.
9 .../gst-plugins-good/gst/multifile/gstimagesequencesrc.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c b/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c
13 index 8581e73e3a94..3d59ec74a7c9 100644
14 --- a/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c
15 +++ b/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c
16 @@ -356,7 +356,7 @@ gst_image_sequence_src_init (GstImageSequenceSrc * self)
17 self->start_index = DEFAULT_START_INDEX;
19 self->stop_index = DEFAULT_STOP_INDEX;
21 + self->path = g_strdup (DEFAULT_LOCATION);