mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Avoid potential overflow in hex(). [forum:/forumpost/7ac0c9c5ea|See forum post 7ac0c9c5ea.]
FossilOrigin-Name: 2e968114fd0e60eebcc088dec02684e10b06ac1ec42d6bedb5287362f5cbf032
This commit is contained in:
@ -55,6 +55,8 @@ do_catchsql_test 3.1 {
|
||||
#--------------------------------------------------------------------------
|
||||
# Test the 2-argument version.
|
||||
#
|
||||
# Zap global x array set in some previous test.
|
||||
if {[array exists x]} {array unset x}
|
||||
foreach {tn hex} {
|
||||
1 "FFFF ABCD"
|
||||
2 "FFFF ABCD"
|
||||
|
Reference in New Issue
Block a user