[glib: 2/3] tests: Test date overflow failure with bookmark file parsing




commit 281f6697c1a156f5cece9fc256230e8b70f40beb
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Oct 1 11:46:23 2020 +0100

    tests: Test date overflow failure with bookmark file parsing
    
    This is exactly the test case from oss-fuzz which triggers a negative
    overflow when constructing dates.
    
    oss-fuzz#22758
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 glib/tests/bookmarks/fail-42.xbel | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/glib/tests/bookmarks/fail-42.xbel b/glib/tests/bookmarks/fail-42.xbel
new file mode 100644
index 000000000..c698d33c8
--- /dev/null
+++ b/glib/tests/bookmarks/fail-42.xbel
@@ -0,0 +1 @@
+<xbel version="1.0"><bookmark href=""><info><metadata 
owner="http://freedesktop.org";><applications><application name=""exec=""timestamp="-77873021800189">
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]