[MDEV-20926] UBSAN: load of value 165, which is not a valid value for type bool Created: 2019-10-30  Updated: 2019-10-30  Resolved: 2019-10-30

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.1, 10.2, 10.3, 10.4
Fix Version/s: 10.2.28, 10.1.42, 10.3.19, 10.4.9

Type: Bug Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Eugene Kosov (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

../sql/sql_select.cc:16714:34: runtime error: load of value 165, which is not a valid value for type 'bool'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../sql/sql_select.cc:16714:34 in 

This is basically an uninitialized read because 165 is 0xa5 which comes from TRASH_ALLOC()


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