[MCOL-900] Project list vector insert past end crash Created: 2017-08-31  Updated: 2022-11-05  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: ExeMgr
Affects Version/s: 1.0.11
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: Andrew Hutchings (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None


 Description   

joblistfactory.cpp:1003

projectKeys.insert(projectKeys.begin() + distance(pcv.begin(), it), tupleKey);

It is possible for the return of std::distance to be higher that the size of the projectKeys vector which triggers a segfault. In the core file I have debugged projectKeys has a size of 2 and the distance returns 4.



 Comments   
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

Generated at Thu Feb 08 02:24:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.