hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
305 stars 48 forks source link

screencast: correct array size #72

Closed nik012003 closed 1 year ago

nik012003 commented 1 year ago

Fixes my issue #71 It seems like on line 325 there was an assigment to params[3] which is out of bounds. This undefined behaviour causes problems on aarch64. WARNING: I only tested this on aarch64, since I don't have an x86 box laying around, but it shouldnt cause any issues. Btw there are a few other problems on aarch64 due to rouge pointer comparaisons, which I will try to address in the next PR.