[MDEV-27561] Valgrind/MSAN errors in Item_func_des_encrypt::val_str Created: 2022-01-21  Updated: 2023-09-27

Status: Open
Project: MariaDB Server
Component/s: Server, SSL
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8
Fix Version/s: 10.4, 10.5, 10.6

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Vladislav Vaintroub
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Reproducible with openSSL (e.g. 1.1.1k) and with wolfSSL, but not with yaSSL. So, 10.2-10.3 server should be built with WITH_SSL=system to reproduce this. 10.4+ can have both system or bundled SSL.

SELECT VARIANCE(0), DES_ENCRYPT('foo', ExtractValue('<foo></foo>', '/foo'));

10.2 a92f07f4 Valgrind openSSL

==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529CB: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529D7: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529E0: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A09: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A2B: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A32: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A3F: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A61: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34855: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:711)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529CB: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529D7: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529E0: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A09: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A2B: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A32: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A3F: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A61: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34876: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:712)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529CB: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529D7: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B529E0: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A09: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A2B: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A32: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A3F: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)
==3200149== Use of uninitialised value of size 8
==3200149==    at 0x4B52A61: DES_set_key_unchecked (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
==3200149==    by 0xA34897: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:713)
==3200149==    by 0x9AB002: Item_copy_string::copy() (item.cc:4601)
==3200149==    by 0x77C9D0: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:23587)
==3200149==    by 0x774714: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:20290)
==3200149==    by 0x770354: do_select(JOIN*, Procedure*) (sql_select.cc:18408)
==3200149==    by 0x74A0B3: JOIN::exec_inner() (sql_select.cc:3651)
==3200149==    by 0x74955B: JOIN::exec() (sql_select.cc:3446)
==3200149==    by 0x74A71C: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3849)
==3200149==    by 0x73E7D0: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:361)
==3200149==    by 0x7091BD: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6271)
==3200149==    by 0x6FFD52: mysql_execute_command(THD*) (sql_parse.cc:3582)
==3200149==    by 0x70CED3: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7793)
==3200149==    by 0x6FB276: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1827)
==3200149==    by 0x6F9D8F: do_command(THD*) (sql_parse.cc:1381)
==3200149==    by 0x8577F3: do_handle_one_connection(CONNECT*) (sql_connect.cc:1336)

10.4 1ec3205703 Valgrind bundled SSL

==3200231== Conditional jump or move depends on uninitialised value(s)
==3200231==    at 0x16F5B4C: DesSetKey (des3.c:1445)
==3200231==    by 0x16F5F45: wc_Des3_SetKey (des3.c:1513)
==3200231==    by 0x16716CC: wolfSSL_DES_ede3_cbc_encrypt (ssl.c:19851)
==3200231==    by 0xD757D8: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:801)
==3200231==    by 0xCDAE14: Item_copy_string::copy() (item.cc:4972)
==3200231==    by 0x9F6D56: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:25343)
==3200231==    by 0x9EE4B6: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:22027)
==3200231==    by 0x9E9A50: do_select(JOIN*, Procedure*) (sql_select.cc:20104)
==3200231==    by 0x9BE40A: JOIN::exec_inner() (sql_select.cc:4542)
==3200231==    by 0x9BD517: JOIN::exec() (sql_select.cc:4324)
==3200231==    by 0x9BEC95: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:4763)
==3200231==    by 0x9AE41F: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:436)
==3200231==    by 0x9730D3: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6449)
==3200231==    by 0x9697D9: mysql_execute_command(THD*) (sql_parse.cc:3963)
==3200231==    by 0x977067: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7995)
==3200231==    by 0x963390: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1857)
==3200231== Conditional jump or move depends on uninitialised value(s)
==3200231==    at 0x16F5B4C: DesSetKey (des3.c:1445)
==3200231==    by 0x16F5F7D: wc_Des3_SetKey (des3.c:1517)
==3200231==    by 0x16716CC: wolfSSL_DES_ede3_cbc_encrypt (ssl.c:19851)
==3200231==    by 0xD757D8: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:801)
==3200231==    by 0xCDAE14: Item_copy_string::copy() (item.cc:4972)
==3200231==    by 0x9F6D56: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:25343)
==3200231==    by 0x9EE4B6: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:22027)
==3200231==    by 0x9E9A50: do_select(JOIN*, Procedure*) (sql_select.cc:20104)
==3200231==    by 0x9BE40A: JOIN::exec_inner() (sql_select.cc:4542)
==3200231==    by 0x9BD517: JOIN::exec() (sql_select.cc:4324)
==3200231==    by 0x9BEC95: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:4763)
==3200231==    by 0x9AE41F: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:436)
==3200231==    by 0x9730D3: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6449)
==3200231==    by 0x9697D9: mysql_execute_command(THD*) (sql_parse.cc:3963)
==3200231==    by 0x977067: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7995)
==3200231==    by 0x963390: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1857)
==3200231== Conditional jump or move depends on uninitialised value(s)
==3200231==    at 0x16F5B4C: DesSetKey (des3.c:1445)
==3200231==    by 0x16F5FBC: wc_Des3_SetKey (des3.c:1521)
==3200231==    by 0x16716CC: wolfSSL_DES_ede3_cbc_encrypt (ssl.c:19851)
==3200231==    by 0xD757D8: Item_func_des_encrypt::val_str(String*) (item_strfunc.cc:801)
==3200231==    by 0xCDAE14: Item_copy_string::copy() (item.cc:4972)
==3200231==    by 0x9F6D56: copy_fields(TMP_TABLE_PARAM*) (sql_select.cc:25343)
==3200231==    by 0x9EE4B6: end_send_group(JOIN*, st_join_table*, bool) (sql_select.cc:22027)
==3200231==    by 0x9E9A50: do_select(JOIN*, Procedure*) (sql_select.cc:20104)
==3200231==    by 0x9BE40A: JOIN::exec_inner() (sql_select.cc:4542)
==3200231==    by 0x9BD517: JOIN::exec() (sql_select.cc:4324)
==3200231==    by 0x9BEC95: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:4763)
==3200231==    by 0x9AE41F: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:436)
==3200231==    by 0x9730D3: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6449)
==3200231==    by 0x9697D9: mysql_execute_command(THD*) (sql_parse.cc:3963)
==3200231==    by 0x977067: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7995)
==3200231==    by 0x963390: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1857)

10.7 64ea3eab8 MSAN bundled SSL

==47545==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x563e87a53455 in DesSetKey /home/jenkins/10.7/extra/wolfssl/wolfssl/wolfcrypt/src/des3.c:1445:25
    #1 0x563e87a5367c in wc_Des3_SetKey /home/jenkins/10.7/extra/wolfssl/wolfssl/wolfcrypt/src/des3.c:1513:15
    #2 0x563e87822286 in wolfSSL_DES_ede3_cbc_encrypt /home/jenkins/10.7/extra/wolfssl/wolfssl/src/ssl.c:19851:17
    #3 0x563e857e0f1f in Item_func_des_encrypt::val_str(String*) /home/jenkins/10.7/sql/item_strfunc.cc:803:3
    #4 0x563e8555cf49 in Item_copy_string::copy() /home/jenkins/10.7/sql/item.cc:5066:21
    #5 0x563e849f69d5 in copy_fields(TMP_TABLE_PARAM*) /home/jenkins/10.7/sql/sql_select.cc:25900:11
    #6 0x563e849f69d5 in end_send_group(JOIN*, st_join_table*, bool) /home/jenkins/10.7/sql/sql_select.cc:22554:7
    #7 0x563e84971dd5 in do_select(JOIN*, Procedure*) /home/jenkins/10.7/sql/sql_select.cc:20583:14
    #8 0x563e84971dd5 in JOIN::exec_inner() /home/jenkins/10.7/sql/sql_select.cc:4751:50
    #9 0x563e8496c6cc in JOIN::exec() /home/jenkins/10.7/sql/sql_select.cc:4529:3
    #10 0x563e848d50c2 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /home/jenkins/10.7/sql/sql_select.cc:5009:9
    #11 0x563e848d3e08 in handle_select(THD*, LEX*, select_result*, unsigned long) /home/jenkins/10.7/sql/sql_select.cc:545:10
    #12 0x563e847aa2e1 in execute_sqlcom_select(THD*, TABLE_LIST*) /home/jenkins/10.7/sql/sql_parse.cc:6252:12
    #13 0x563e8478414d in mysql_execute_command(THD*, bool) /home/jenkins/10.7/sql/sql_parse.cc:3943:12
    #14 0x563e8476c2f7 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /home/jenkins/10.7/sql/sql_parse.cc:8027:18
    #15 0x563e8476047d in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /home/jenkins/10.7/sql/sql_parse.cc:1894:7
    #16 0x563e8476e70c in do_command(THD*, bool) /home/jenkins/10.7/sql/sql_parse.cc:1402:17
    #17 0x563e84de0346 in do_handle_one_connection(CONNECT*, bool) /home/jenkins/10.7/sql/sql_connect.cc:1418:11
    #18 0x563e84ddf895 in handle_one_connection /home/jenkins/10.7/sql/sql_connect.cc:1312:5
    #19 0x563e8613a3fa in pfs_spawn_thread /home/jenkins/10.7/storage/perfschema/pfs.cc:2201:3
    #20 0x7f9cd2d13608 in start_thread /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:477:8
    #21 0x7f9cd2a18292 in clone /build/glibc-eX1tMB/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
  Uninitialized value was stored to memory at
    #0 0x563e87a52c16 in DesSetKey /home/jenkins/10.7/extra/wolfssl/wolfssl/wolfcrypt/src/des3.c:1440:28
 
  Uninitialized value was stored to memory at
    #0 0x563e87a5295f in DesSetKey /home/jenkins/10.7/extra/wolfssl/wolfssl/wolfcrypt/src/des3.c:1431:25
 
  Uninitialized value was stored to memory at
    #0 0x563e8782259d in wolfSSL_DES_ede3_cbc_encrypt /home/jenkins/10.7/extra/wolfssl/wolfssl/src/ssl.c:19841:9
 
  Uninitialized value was stored to memory at
    #0 0x563e87854b45 in wolfSSL_DES_set_key_unchecked /home/jenkins/10.7/extra/wolfssl/wolfssl/src/ssl.c:30492:9
 
  Uninitialized value was created by an allocation of 'keyblock' in the stack frame of function '_ZN21Item_func_des_encrypt7val_strEP6String'
    #0 0x563e857e0370 in Item_func_des_encrypt::val_str(String*) /home/jenkins/10.7/sql/item_strfunc.cc:730
 
SUMMARY: MemorySanitizer: use-of-uninitialized-value /home/jenkins/10.7/extra/wolfssl/wolfssl/wolfcrypt/src/des3.c:1445:25 in DesSetKey


Generated at Thu Feb 08 09:53:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.