Include a null byte in the middle of the Greeting test
This commit is contained in:
parent
7410e28329
commit
6f619c39cb
|
@ -21,7 +21,8 @@ var Greeting = Torrent{
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
GreetingFileContents = "hello, world\n"
|
// A null in the middle triggers an error if SQLite stores data as text instead of blob.
|
||||||
|
GreetingFileContents = "hello,\x00world\n"
|
||||||
GreetingFileName = "greeting"
|
GreetingFileName = "greeting"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue