[MDEV-7883] Segmentation failure when running mysqladmin -u root -p Created: 2015-03-30 Updated: 2015-07-02 Resolved: 2015-04-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 5.5.41, 10.0 |
| Fix Version/s: | 5.5.43, 10.0.18, 10.1.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Honza Horak | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
"mysqladmin" crash on execution of below command:
This error occurs only when no options is sent with the mysqladmin command. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce:
Backtrace from the coredump generated on local test system:
|
| Comments |
| Comment by Honza Horak [ 2015-03-30 ] | |
|
This is a proposed patch.
item in case argc == 0. The attached patch should hopefully prevent that issue. | |
| Comment by Honza Horak [ 2015-03-30 ] | |
|
10.0.17 is affected as well, even though I didn't see it crash (memory corruption caused probably less damage than in 5.5.x). | |
| Comment by Honza Horak [ 2015-03-30 ] | |
|
I've reproduced it on x86_64 as well, it doesn't seem to be specific to s390x. | |
| Comment by Elena Stepanova [ 2015-03-30 ] | |
|
Oh you are right, sorry. I ran mysqladmin -uroot -p and it worked okay, but mysqladmin -u root -p crashes. |