]> git.ipfire.org Git - thirdparty/systemd.git/commit
socket-util: fix getpeergroups() assert(fd) (#8080)
authorVito Caputo <vcaputo@pengaru.com>
Sat, 3 Feb 2018 11:09:08 +0000 (03:09 -0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 3 Feb 2018 11:09:08 +0000 (20:09 +0900)
commit75f40779607ea79f20441c7fb46744d04ee2c7ae
treeb4615aec3bf50c8e4cf2cd496381f4abbe514b9e
parent4a7e5fce6a315cdf2621227d30fc25962dcfcc32
socket-util: fix getpeergroups() assert(fd) (#8080)

Don't assert on zero-value fds.

Fixes #8075.
src/basic/socket-util.c