ISQL crash when converted-from-double string longer than 23 bytes [CORE1363] #1781
Submitted by: Bill Oliver (verbguy)
Assigned to: Claudio Valderrama C. (robocop)
Is related to QA168
This has been around since dirt.
Try this in ISQL:
-- this did crash
Output is this, followed by crash
Dmitry said that the crash is ISQL-specific, it just doesn't expect a converted-from-double string to be longer than 23 bytes. Otherwise, the allocated buffer is trashed and the heap corruption happens.
Originally reported in CORE1362, Claudio asks this be entered as a separate ticket against ISQL.
The text was updated successfully, but these errors were encountered:
Modified by: Claudio Valderrama C. (robocop)
Version: 2.0.3 [ 10200 ]
Version: 2.0.2 [ 10130 ]
Version: 2.0.0 [ 10091 ]
Version: 1.5.3 [ 10028 ]
Version: 1.5.2 [ 10027 ]
Version: 1.0.3 [ 10006 ]
Version: 2.0.4 [ 10211 ]
Version: 2.1.0 [ 10041 ]
Version: 3.0.0 [ 10048 ]
environment: Windows XP, Intel 32 => Windows XP, Intel 32
Commented by: Claudio Valderrama C. (robocop)
Philipp[e, I was just asking.
I compared the code between FB2.5 and FB2.1 and this area didn't change. Therefore, using the known, ancient technique of copy/paste I fixed v2.1's isql, but... how can I be sure it compiles in other platforms than Window?