Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL)
-
None
Description
mariadb-10.4.6/plugin/auth_pam/auth_pam.c:104]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
Source code is
if ((pkt_len= vio->read_packet(vio, &pkt) < 0))
Maybe better code:
if ((pkt_len = vio->read_packet(vio, &pkt)) < 0)