Package: libnss-extrausers / 0.6-4

Metadata

Package Version Patches format
libnss-extrausers 0.6-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Bug 29915 CLO_EXEC.patch | (download)

group.c | 6 3 + 3 - 0 !
passwd.c | 4 2 + 2 - 0 !
shadow.c | 2 1 + 1 - 0 !
3 files changed, 6 insertions(+), 6 deletions(-)

 bug #29915: clo_exec

Open files CLO_EXEC for process safety.

0002 Bug 29915 NSS error reporting.patch | (download)

group.c | 6 5 + 1 - 0 !
passwd.c | 4 3 + 1 - 0 !
shadow.c | 4 3 + 1 - 0 !
3 files changed, 11 insertions(+), 3 deletions(-)

 bug #29915: nss error reporting

Report proper error on out-of-memory-errors as required by NSS spec.

0003 Bug 29915 min GID.patch | (download)

passwd.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 bug #29915: min gid

Check for gid < MINGID before loop instead of terminating the loop on the first line with gid < MINGID.

0004 Bug 29915 fseek thread safety.patch | (download)

group.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 bug #29915: fseek() thread safety

Restore file position before unlock for thread safety.

0005 Bug 29915 strip trailing whitespace.patch | (download)

group.c | 2 1 + 1 - 0 !
passwd.c | 2 1 + 1 - 0 !
shadow.c | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 bug #29915: strip trailing whitespace

Fix stripping trailing whitespace.

0006 Bug 39775 Fix setgrent.patch | (download)

group.c | 15 11 + 4 - 0 !
1 file changed, 11 insertions(+), 4 deletions(-)

 bug #39775: fix setgrent()

If setgrent() is called a 2nd time, the stream must be rewinded.