[sssd][patches] NSS: netgroups minor fixes
by Pavel Reichl
Hello,
while working on https://fedorahosted.org/sssd/ticket/2102 I noticed a
few minor problems regarding netgroups.
1st patch:
First check returned value then it is safe to access results.
2nd patch:
It is my opinion that function lookup_netgr_step is too long and can be
safely (with minimum of changes) divided into 2 separate functions.
3rd patch:
Pavel Brezina asked me to solve memory leak in lookup_netgr_step.
4th patch:
Fixes two code style issues.
Thank for review!
Pavel Reichl
9 years, 11 months
[PATCH] Fix return value of attr_name_val_split()
by Sumit Bose
Hi,
I found this wrong return value. I've checked the other recent posting
and didn't found a patch for this. If someone already send a patch for
this please point me to the right thread so that I can ack it.
bye,
Sumit
9 years, 11 months
[PATCH] LDAP: Don't use macro _XOPEN_SOURCE for extra features
by Lukas Slebodnik
ehlo,
We defined macro _XOPEN_SOURCE before time.h, because we need function strptime
The problem is with undef after including header time.h
The macro _XOPEN_SOURCE can be defined on some platforms
and undef can cause problems.
We detect all necessary feature macros in configure script
using AC_USE_SYSTEM_EXTENSIONS or AC_GNU_SOURCE.
It is better to include header file config.h
instead of defining macro _XOPEN_SOURCE
LS
9 years, 11 months