aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/swaybg_command.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-02-05 08:35:00 -0500
committerBrian Ashworth <bosrsf04@gmail.com>2019-02-05 08:35:00 -0500
commitf2abe0570ff2febe8a25de122c8dc95c49ef8282 (patch)
tree6f61ddadade2d6938851ec042ed5a083b51a3b1a /sway/commands/swaybg_command.c
parent478b128c26057dcd7c97aaf5f91aa08dfce7d38f (diff)
cmd_workspace_gaps: fix double free on bad amount
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 argument
Diffstat (limited to 'sway/commands/swaybg_command.c')
0 files changed, 0 insertions, 0 deletions