Bug #20152 | mysql_stmt_execute() overwrites parameter buffers | ||
---|---|---|---|
Submitted: | 30 May 2006 18:40 | Modified: | 4 Aug 2006 17:11 |
Reporter: | Axel Schwenke | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Prepared statements | Severity: | S3 (Non-critical) |
Version: | 5.0.20 | OS: | Linux (Linux) |
Assigned to: | Tomash Brechko | CPU Architecture: | Any |
[30 May 2006 18:40]
Axel Schwenke
[31 May 2006 22:10]
Jorge del Conde
Hi Axel, I do not see the test-files attatched to the bug report. Can you please send them to me ? Thanks!
[1 Jun 2006 23:24]
Axel Schwenke
test_date_time1.c
Attachment: test_date_time1.c (text/plain), 1.63 KiB.
[1 Jun 2006 23:24]
Axel Schwenke
test_date_time2.c
Attachment: test_date_time2.c (text/plain), 2.66 KiB.
[6 Jun 2006 16:59]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/7327
[18 Jun 2006 20:38]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/7818
[19 Jun 2006 18:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/7873
[28 Jun 2006 13:28]
Konstantin Osipov
Axel, the patch is approved. Please push it into the runtime tree.
[30 Jun 2006 8:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/8538
[30 Jun 2006 10:44]
Tomash Brechko
Pushed to 4.1 tagged 4.1.21.
[2 Aug 2006 15:56]
Konstantin Osipov
Fixed in 5.0.24 and 5.1.12
[4 Aug 2006 17:11]
Paul DuBois
Noted in 4.1.21, 5.0.24, 5.1.12 changelogs. For a DATE parameter sent via a MYSQL_TIME data structure, mysql_stmt_execute() zeroed the hour, minute, and second members of the structure rather than treating them as read-only.