Bug #16616 | mysqld 5.0.18 - segmentation fault (backtrace attached) | ||
---|---|---|---|
Submitted: | 18 Jan 2006 20:18 | Modified: | 19 Feb 2006 18:09 |
Reporter: | Pelat Guillaume | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0.18 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[18 Jan 2006 20:18]
Pelat Guillaume
[18 Jan 2006 22:37]
Philippe Brand
Just came across what could be directly related. On a hardened-gentoo (with SSP), mysqld fails upon install (/usr/bin/mysql_install_db) with: mysqld: stack smashing attack in function int mysql_prepare_table(THD*, HA_CREATE_INFO*, List<create_field>*, List<Key>*, bool, uint*, handler*, KEY**, uint*, int)() Definitly stack problems around here...
[19 Jan 2006 18:09]
Valeriy Kravchuk
Thank you for a problem report. Please, clarify, do you use one of the official MySQL binaries or some ebuild provided by Gentoo (as it seems), or something you build yourself from MySQL sources? Just to be sure...
[20 Feb 2006 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[16 Mar 2007 15:18]
Auke Bruinsma
on my gentoo hardened with gcc: gcc (GCC) 3.4.6 (Gentoo Hardened 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10 I get: mysqld: stack smashing attack in function int mysql_prepare_table(THD*, HA_CREATE_INFO*, List<create_field>*, List<Key>*, bool, uint*, handler*, KEY**, uint*, int)() when I do: emerge --config =dev-db/mysql-5.0.26-r2 which results in: //usr/bin/mysql_install_db: line 217: 2269 Aborted /usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/usr --datadir=/var/lib/mysql --skip-innodb --skip-bdb --skip-ndbcluster --user=mysql --max_allowed_packet=8M --net_buffer_length=16K !!! ERROR: dev-db/mysql-5.0.26-r2 failed. Call stack: ebuild.sh, line 1595: Called qa_call 'pkg_config' ebuild.sh, line 38: Called pkg_config ebuild.sh, line 1304: Called mysql_pkg_config mysql.eclass, line 806: Called die !!! MySQL databases not installed !!! If you need support, post the topmost build error, and the call stack if relevant. If you need more version info, please let me know.
[16 Mar 2007 21:29]
Sergei Golubchik
the last comment is copied to a separate bugreport - bug#27230