Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main: fix reading outside malloced area. #3376

Commits on May 4, 2022

  1. main: fix reading outside malloced area.

    Calling ptrArrayDeleteItem in a situation where the allocated array is fully used
     (curent-> count == current-> max) caused memmove to access outside the malloced area.
    
    ptrArrayRemoveItem and {char,uchar,int,uint,long,ulong}ArrayDeleteItem have the same problem.
    hidekiiwamoto committed May 4, 2022
    Configuration menu
    Copy the full SHA
    4a710c0 View commit details
    Browse the repository at this point in the history