projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Foxp][Test] simple echo test with custom payload size
[platform/upstream/dbus.git]
/
test
/
syntax.c
diff --git
a/test/syntax.c
b/test/syntax.c
index
88db963
..
e26b364
100644
(file)
--- a/
test/syntax.c
+++ b/
test/syntax.c
@@
-178,12
+178,14
@@
const char * const invalid_single_signatures[] = {
const char * const valid_strings[] = {
"",
const char * const valid_strings[] = {
"",
- "\xc2\xa9",
+ "\xc2\xa9", /* UTF-8 (c) symbol */
+ "\xef\xbf\xbe", /* U+FFFE is reserved but Corrigendum 9 says it's OK */
NULL
};
const char * const invalid_strings[] = {
NULL
};
const char * const invalid_strings[] = {
- "\xa9",
+ "\xa9", /* Latin-1 (c) symbol */
+ "\xed\xa0\x80", /* UTF-16 surrogates are not valid in UTF-8 */
NULL
};
NULL
};