tdbc::mysql

View Ticket
Login
Ticket Hash: f3c6ec03696a45078ae43d9ce44ff49079686c56
Title: segfault on Linux when no mysql libs available
Status: Closed Type: Code_Defect
Severity: Severe Priority: Immediate
Subsystem: not_specified Resolution: Fixed
Last Modified: 2017-05-26 06:13:51
Version Found In: 1.0.4
User Comments:
anonymous added on 2016-03-10 02:38:07: (text/x-fossil-wiki)
An incorrect index introduced in [0048009d31] has been uncovered by [ea2767612b], resulting in out-of-bounds array access at [http://core.tcl.tk/tdbcmysql/artifact/3b91ca403383c044?ln=145]

Reproduced on arch linux with no mysql libraries on the path.  Note that a debug build failed to segfault.

For a potential fix see [http://chiselapp.com/user/aspect/repository/tdbcmysql/timeline?r=aspect-stubinit]

stu (claiming to be Stu) added on 2017-05-26 06:13:51: (text/x-fossil-plain)
Fixed in [6313038acf], thanks.