Fix problem of certain passwords (e.g. joomla1) being treated incorrectly as null MXS-202.
This commit is contained in:
@ -134,6 +134,8 @@ typedef struct mysql_session {
|
||||
#endif
|
||||
} MYSQL_session;
|
||||
|
||||
/* The following can be compared using memcmp to detect a null password */
|
||||
uint8_t null_client_sha1[MYSQL_SCRAMBLE_LEN]="";
|
||||
|
||||
/** Protocol packing macros. */
|
||||
#define gw_mysql_set_byte2(__buffer, __int) do { \
|
||||
|
Reference in New Issue
Block a user