1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix an error in the malloc.test test script causing a small buffer overread. (CVS 6725)

FossilOrigin-Name: 4d129bee696f3a537f7ea5501a387012fc08c27e
This commit is contained in:
danielk1977
2009-06-06 16:08:22 +00:00
parent 125feffc89
commit 08746af43b
3 changed files with 10 additions and 10 deletions

View File

@ -16,7 +16,7 @@
# to see what happens in the library if a malloc were to really fail
# due to an out-of-memory situation.
#
# $Id: malloc.test,v 1.78 2009/04/09 01:23:49 drh Exp $
# $Id: malloc.test,v 1.79 2009/06/06 16:08:23 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -230,7 +230,7 @@ ifcapable utf16 {
} else {
set ::bomstr "\xFE\xFF"
}
append ::bomstr [encoding convertto unicode "123456789_123456789_12345678"]
append ::bomstr [encoding convertto unicode "123456789_123456789_123456789"]
} -tclbody {
sqlite3_column_text16 $::STMT 0
sqlite3_column_int $::STMT 0