Squashed 'src/univalue/' content from commit 9ef5b78
git-subtree-dir: src/univalue git-subtree-split: 9ef5b78c1998509b8f1ccd76f0aee15140e384be
This commit is contained in:
8
test/no_nul.cpp
Normal file
8
test/no_nul.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "univalue.h"
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
char buf[] = "___[1,2,3]___";
|
||||
UniValue val;
|
||||
return val.read(buf + 3, 7) ? 0 : 1;
|
||||
}
|
||||
Reference in New Issue
Block a user