Skip to content

Conversation

ontholerian
Copy link

The calculation of the size of the next increment of list->list is being calculated using uint32_t sized integers, yet it is possible that the calculation can exceed the maximum value of uint32_t. Encountering this case causes the array of list->list to shrink suddenly to the calculated size minus the max uint32_t value, yet list->size still increases to imply that there is more space available then there is. Later, when the next element is attempted to be added, the value of list->i goes beyond the allocated space of list->list and causes the program to segfault.

@pombredanne
Copy link

@tuulos @pmundkur Are you still maintaining discoDB?

@pmundkur
Copy link
Member

pmundkur commented Nov 3, 2015

@pombredanne I don't maintain discodb or disco. @pooya, do you know what the current maintainership status is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants