summaryrefslogtreecommitdiffstats
path: root/test/fuzz/fuzz-xdg-desktop
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
commitb750101eb236130cf056c675997decbac904cc49 (patch)
treea5df1a06754bdd014cb975c051c83b01c9a97532 /test/fuzz/fuzz-xdg-desktop
parentInitial commit. (diff)
downloadsystemd-b750101eb236130cf056c675997decbac904cc49.tar.xz
systemd-b750101eb236130cf056c675997decbac904cc49.zip
Adding upstream version 252.22.upstream/252.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/fuzz/fuzz-xdg-desktop')
-rw-r--r--test/fuzz/fuzz-xdg-desktop/SettingsDaemon.desktop10
-rw-r--r--test/fuzz/fuzz-xdg-desktop/full.desktop10
-rw-r--r--test/fuzz/fuzz-xdg-desktop/oss-fuzz-22812bin0 -> 128273 bytes
-rw-r--r--test/fuzz/fuzz-xdg-desktop/valid.desktop12
4 files changed, 32 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-xdg-desktop/SettingsDaemon.desktop b/test/fuzz/fuzz-xdg-desktop/SettingsDaemon.desktop
new file mode 100644
index 0000000..9d3e0c5
--- /dev/null
+++ b/test/fuzz/fuzz-xdg-desktop/SettingsDaemon.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=GNOME Settings Daemon's power plugin
+Exec=/usr/libexec/gsd-power
+OnlyShowIn=GNOME;
+NoDisplay=true
+X-GNOME-Autostart-Phase=Initialization
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true
+X-GNOME-HiddenUnderSystemd=true
diff --git a/test/fuzz/fuzz-xdg-desktop/full.desktop b/test/fuzz/fuzz-xdg-desktop/full.desktop
new file mode 100644
index 0000000..e5da36b
--- /dev/null
+++ b/test/fuzz/fuzz-xdg-desktop/full.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=GNOME Settings Daemon's power plugin
+Exec=/usr/bin/sleep %i %f "%F" "--test" ";\\\\!?"
+OnlyShowIn=GNOME;
+NoDisplay=true
+X-GNOME-Autostart-Phase=Initialization
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true
+X-GNOME-HiddenUnderSystemd=true
diff --git a/test/fuzz/fuzz-xdg-desktop/oss-fuzz-22812 b/test/fuzz/fuzz-xdg-desktop/oss-fuzz-22812
new file mode 100644
index 0000000..4b4cadf
--- /dev/null
+++ b/test/fuzz/fuzz-xdg-desktop/oss-fuzz-22812
Binary files differ
diff --git a/test/fuzz/fuzz-xdg-desktop/valid.desktop b/test/fuzz/fuzz-xdg-desktop/valid.desktop
new file mode 100644
index 0000000..20fb5fe
--- /dev/null
+++ b/test/fuzz/fuzz-xdg-desktop/valid.desktop
@@ -0,0 +1,12 @@
+Desktop Entry
+Name=
+Exec=
+TryExec=
+Type=
+OnlyShowIn=
+NotShowIn=
+Hidden=
+AutostartCondition=
+X-KDE-autostart-condition=
+X-GNOME-Autostart-Phase=
+X-GNOME-HiddenUnderSystemd=