|
Message-Id: <1468315857.14738.0@mail.zhasha.com>
Date: Tue, 12 Jul 2016 11:30:57 +0200
From: Joakim Sindholt <opensource@...sha.com>
To: musl@...ts.openwall.com
Subject: [PATCH] fix getgrouplist without nscd
There were two issues here. First, if socket() fails then it's treated
as an unrecoverable error and second: the response buffer was not
initialized and so a recoverable error (ie. no nscd) would result in UB.
dgp tested this patch and confirmed on IRC that it worked in the
no-nscd no-socket case and I have tested it in the has-nscd case.
View attachment "0001-fix-getgrouplist-without-nscd.patch" of type "text/x-patch" (1281 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.