Skip to content

[ubports/focal] click-service: fix crash due to incorrect dereferencing order

(Manual & partial backport of !34 (merged))

*gidpp[i] will index gidpp[i] and then dereference it. That's not what we want; we want to index *gidpp, not gidpp itself. This lead to crash due to invalid memory access.

Not sure why it was working before. Maybe we're just lucky.

(cherry picked from commit a1e144f2)

Merge request reports