malloc(): corrupted top size #1
Closed
opened 4 years ago by Ghost
·
1 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Strange
malloc
bugs occur when parsing the config file.I tried to find a minimal configuration that causes the
malloc
bugs I experienced: You need to have at least two lines that are not comments or blank and one line with a 26-character command to get this:Try for example:
If you give a command longer than 26 characters, you get this error:
Try for example:
I'm not quite sure why the malloc bug occurs and valgrid didn't give me much useful information, but the parser should not allow for blank command or keys values.
I added a check for it and the problem should no longer occur.