mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
MDEV-28431 auth_pam tool left zombie processes.
The faulure in username packet reading can lead to the auth_plugin_tool zombie. So check and close the application.
This commit is contained in:
parent
af810407f7
commit
7215b00354
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ static int pam_auth(MYSQL_PLUGIN_VIO *vio, MYSQL_SERVER_AUTH_INFO *info)
|
|||
if (info->user_name == 0)
|
||||
{
|
||||
if ((pkt_len= vio->read_packet(vio, &pkt)) < 0)
|
||||
return CR_ERROR;
|
||||
goto error_ret;
|
||||
}
|
||||
else
|
||||
pkt= NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue