Bug #48284 | C99 aliasing violation, results in failures in the client library | ||
---|---|---|---|
Submitted: | 25 Oct 2009 6:57 | Modified: | 12 Mar 2010 17:13 |
Reporter: | Davin McCall | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S2 (Serious) |
Version: | 5.1.40 | OS: | Linux |
Assigned to: | Jim Winstead | CPU Architecture: | Any |
Tags: | aliasing |
[25 Oct 2009 6:57]
Davin McCall
[17 Nov 2009 10:33]
Tonci Grgin
Hi Davin. Verified just as described by looking into latest 5.1 sources.
[23 Nov 2009 22:02]
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/91356 3218 Jim Winstead 2009-11-23 Fix C99 aliasing violation due to mismatched types that were papered over with a cast. (Bug #48284)
[15 Dec 2009 9:43]
Magnus BlÄudd
Patch is ok. It's effect is visual since it fixes a crash in mysql_client_test when release compiling with gcc 4.4.2
[17 Dec 2009 19:59]
Jim Winstead
Queued to the mysql-5.1-bugteam and mysql-pe trees.
[15 Jan 2010 8:58]
Bugs System
Pushed into 5.1.43 (revid:joro@sun.com-20100115085139-qkh0i0fpohd9u9p5) (version source revid:jimw@mysql.com-20091216204853-5clvhmihej25795n) (merge vers: 5.1.42) (pib:16)
[22 Jan 2010 1:12]
Paul DuBois
Noted in 5.1.43 changelog. An aliasing violation in the C API could lead to a crash. Setting report to NDI pending push to 5.5.x+.
[5 Feb 2010 11:50]
Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100204063540-9czpdmpixi3iw2yb) (version source revid:alik@sun.com-20091224075613-es9uswo4lidkm3tj) (pib:16)
[12 Mar 2010 14:20]
Bugs System
Pushed into 5.1.44-ndb-7.0.14 (revid:jonas@mysql.com-20100312135944-t0z8s1da2orvl66x) (version source revid:jonas@mysql.com-20100312115609-woou0te4a6s4ae9y) (merge vers: 5.1.44-ndb-7.0.14) (pib:16)
[12 Mar 2010 14:35]
Bugs System
Pushed into 5.1.44-ndb-6.2.19 (revid:jonas@mysql.com-20100312134846-tuqhd9w3tv4xgl3d) (version source revid:jonas@mysql.com-20100312060623-mx6407w2vx76h3by) (merge vers: 5.1.44-ndb-6.2.19) (pib:16)
[12 Mar 2010 14:51]
Bugs System
Pushed into 5.1.44-ndb-6.3.33 (revid:jonas@mysql.com-20100312135724-xcw8vw2lu3mijrhn) (version source revid:jonas@mysql.com-20100312103652-snkltsd197l7q2yg) (merge vers: 5.1.44-ndb-6.3.33) (pib:16)
[12 Mar 2010 17:13]
Paul DuBois
Noted in 5.5.3 changelog.