[MDEV-24628] Aria does not check for the result of my_random_bytes call Created: 2021-01-19  Updated: 2021-01-20

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - Aria
Affects Version/s: 10.1, 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.5

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

As we recently found out, my_random_bytes can encounter an error and return a failure. Most callers in MariaDB check the result of the call, but Aria does not, it happily proceeds regardless the outcome. I'm not sure what exactly can be a delayed effect of it either for encryption or for UUID, but I assume if it calls the function, it expects it to work, so it should be verified.


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