[MDEV-16904]  inline void swap(base_list &rhs) should swap list only when list is not empty Created: 2018-08-05  Updated: 2018-08-07  Resolved: 2018-08-07

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: None
Fix Version/s: 5.5.62

Type: Bug Priority: Major
Reporter: Sachin Setiya (Inactive) Assignee: Sachin Setiya (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

All


Issue Links:
Problem/Incident
causes MDEV-15127 AddressSanitizer: stack-buffer-overfl... Closed

 Description   

This is same bug as 15127. We are seeing 15127 because swap list is not correctly implemented.


Generated at Thu Feb 08 08:32:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.