[MDEV-4462] mysqld gets SIGFPE when mysql.user table is empty Created: 2013-04-30  Updated: 2013-08-12  Resolved: 2013-05-08

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.30, 5.2.14, 5.3.12
Fix Version/s: 5.5.31, 5.2.15, 5.3.13

Type: Bug Priority: Major
Reporter: Pavel Ivanov Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

I realize that having mysql.user empty is a very rare use case, but still I think it's not nice to just crash in the face of someone who screw his database like this.

The culprit is sql/sql_acl.cc:8159:
uint i= nr1 % acl_users.elements;



 Comments   
Comment by Sergei Golubchik [ 2013-05-08 ]

pushed in 5.2

Comment by Alex Light [ 2013-08-12 ]

When was this merged into mariadb 10?

Comment by Sergei Golubchik [ 2013-08-12 ]

On 2013-06-06, revno 3758

Generated at Thu Feb 08 06:56:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.