aboutsummaryrefslogtreecommitdiffstats
path: root/README.ru.md
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2020-02-10 20:52:34 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2020-02-11 10:09:37 +0100
commit0b709702c134fcba2b8210ac6f85b8b2665484d0 (patch)
tree39122568182a85d9513a4f189c760db0356e0ea7 /README.ru.md
parentinput: Map virtual-pointer to the requested output (diff)
downloadsway-0b709702c134fcba2b8210ac6f85b8b2665484d0.tar.gz
sway-0b709702c134fcba2b8210ac6f85b8b2665484d0.tar.zst
sway-0b709702c134fcba2b8210ac6f85b8b2665484d0.zip
container_at_{tabbed,stacked}: check x-axis bounds
The container_at_tabbed and container_at_stacked container were checking the bounds along the y-axis, but not the x-axis. This made it possible to cause a segfault for specific resolution, horizontal gap, and workspace children lengths. The issue is that child_index was -1 and was resulting in a buffer underflow. Adding the x-axis bound checks for early returns should prevent this from happening.
Diffstat (limited to 'README.ru.md')
0 files changed, 0 insertions, 0 deletions