first commit
CI / Build (clang, clang++, ubuntu-22.04, linux, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Build (clang, clang++, windows-2022, windows, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Release (push) Canceled after 0s

This commit is contained in:
2026-09-13 22:18:11 +01:00
commit 08c03ac533
6701 changed files with 1577314 additions and 0 deletions
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xed near '"'
@@ -0,0 +1 @@
[" <-- encoded surrogate half"]
@@ -0,0 +1,2 @@
1 3 3
unable to decode byte 0xe5 near '"\'
@@ -0,0 +1 @@
["\å"]
@@ -0,0 +1,2 @@
1 1 1
unable to decode byte 0xe5
@@ -0,0 +1 @@
[å]
@@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '123'
@@ -0,0 +1 @@
[123å]
@@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '"\u'
@@ -0,0 +1 @@
["\u"]
@@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '1e1'
@@ -0,0 +1 @@
[1e1å]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near 'a'
@@ -0,0 +1 @@
[a蘊
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near '0'
@@ -0,0 +1 @@
[0å]
@@ -0,0 +1,2 @@
1 3 3
unable to decode byte 0xe5 near '1e'
@@ -0,0 +1 @@
[1e蘊
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near '"'
@@ -0,0 +1 @@
["å <-- invalid UTF-8"]
@@ -0,0 +1,2 @@
1 0 0
unable to decode byte 0xe5
@@ -0,0 +1 @@
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0x81 near '"'
@@ -0,0 +1 @@
[""]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xf4 near '"'
@@ -0,0 +1 @@
[""]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe0 near '"'
@@ -0,0 +1 @@
[" <-- overlong encoding"]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xf0 near '"'
@@ -0,0 +1 @@
[" <-- overlong encoding"]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xc1 near '"'
@@ -0,0 +1 @@
[""]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xfd near '"'
@@ -0,0 +1 @@
[""]
+27
View File
@@ -0,0 +1,27 @@
#!/bin/sh
#
# Copyright (c) 2009-2016 Petri Lehtinen <[email protected]>
#
# Jansson is free software; you can redistribute it and/or modify
# it under the terms of the MIT license. See LICENSE for details.
is_test() {
test -d $test_path
}
run_test() {
$json_process --env <$test_path/input >$test_log/stdout 2>$test_log/stderr
valgrind_check $test_log/stderr || return 1
cmp -s $test_path/error $test_log/stderr
}
show_error() {
valgrind_show_error && return
echo "EXPECTED ERROR:"
nl -bn $test_path/error
echo "ACTUAL ERROR:"
nl -bn $test_log/stderr
}
. $top_srcdir/test/scripts/run-tests.sh
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe0 near '"'
@@ -0,0 +1 @@
["ŕ˙ <-- truncated UTF-8"]