summaryrefslogtreecommitdiffstats
path: root/test/fuzz/fuzz-xdg-desktop
diff options
context:
space:
mode:
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=