This fixes a double free in cmd_workspace_gaps when the amount given is invalid. The end pointer from strtol is part of the argument and should not be freed. Freeing the end pointer could result in a double free or bad free depending on whether or not the end pointer was at the start of the argumentmaster
parent
478b128c26
commit
f2abe0570f
Loading…
Reference in new issue