Skip to content

Check getgrgid(3) return value to avoid crash

Theo Buehler requested to merge botovq/xfce4-session:getgrgid into master

getgrgid(3) can fail and return a NULL group, for example on some misconfigurations. Don't dereference gr without checking it first.

Fixes #134 (closed)

Merge request reports

Loading