tdbc::postgres

View Ticket
Login
Ticket Hash: 582ee0100ceca8d0e520339914339c8c9e75a3bf
Title: pointer to integer assignment potentially unsafe
Status: Closed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: not_specified Resolution: Fixed
Last Modified: 2017-12-15 19:43:48
Version Found In: 1.0.0
User Comments:
anonymous added on 2013-08-22 23:48:50:
this ticket is to signal a similar problem already open for tdbcmysql 
(http://core.tcl.tk/tdbcmysql/tktview?name=60999d7b92)

in various lines of the code int variables are assigned to pointers 
variables. Building tdbcpostgres with strict compilation flags produces 
several warnings on this weakiness of the code. A solution exists on 
every platform supporting <stdint.h> which defines intptr_t, an integer
datatype guaranteed to contain a pointer value.

stu added on 2017-12-15 19:43:48:
Fixed in checkin [1c01e05187].