Skip to content

Releases: pikhq/musl-nscd

v1.1.0

31 Aug 04:13
Compare
Choose a tag to compare

The musl-nscd team is pleased to release v1.1.0, the next major release of nscd for musl. It welcomes a new contributor on board who has implemented a new feature linked below. This release also includes many stability and correctness fixes, and should dramatically improve performance in most environments. See below for a complete list of new features and bugfixes.

  • New feature:

    • #27: implement query caching (see man page for security concerns)
    • #28: implement threading to lower latency
  • Functionality changes:

    • #21: error out if merge action is used in nsswitch.conf(5), since it isn't actually supported
    • #26:
      • fix query handling so all struct fields are properly checked
      • fix gr_passwd detection
    • #29: add a man page
  • Internal changes:

    • #20: use smaller initial buffers for queries as an optimistic way to decrease memory consumption
  • Fix resource leaks:

    • #15: close config file after parsing
    • #18: the daemon was leaking a thread stack for every nscd request
    • #25: small memory leak when queries failed
  • Fix undefined behavior:

    • #16: initialize semaphores before using them
    • #17: fix allocation size for initgroups query
    • #19: don't dlclose DSO still in use
    • #23: fix use-of-uninitialized value
    • #24: fix possible null pointer deref

Version 1.0.2

05 Aug 21:51
Compare
Choose a tag to compare

This release fixes numerous bugs and adds supports for initgroups, GNU compliant shlib versions, and welcomes changes from 3 new contributors. Additional fixes include minor adjustments for packagers, and some additional minor fixes to better align with accepted standards.

Here is the changelog since v1.0.1:

* 8f27867 - (tag: v1.0.2) Fixes segfault caused by GETINITGR request
* 816b8b3 - configure: Make --sbindir=.* actually work
* 48ce83e - configure: GNU coding standards say libdir defaults to $(exec_prefix)/lib
* 077103c - main.c: return helpful errors for config problems 
* f26baf3 - src/socket_handle.c: Assign new buffer len to buf_len before returning.
* 77fc40c - Fix very simple bug causing all uid/gid requests to segfault.
* 906dadf - Fix UID and GID request handling: protocol sends them as strings, not integers.
* 5311413 - Don't die when lex or yacc can't be found. 
* cac5350 - Ignore SIGPIPE, as pointed out by ItWolfik. 
* 30e1217 - Fix typos pointed out by ItWolfik; issue #4 on github
* 847a967 - Add support for initgroups in NSS modules.
* f3e69fb - If an NSS module is missing a function.
* f93955c - glibc NSS modules have an so version of 2. Support this, not just bare NSS modules.
* 34cc9ff - chmod the socket; should prevent permissions problems when the umask is restrictive
* 1c686ef - Fix NSCD response writing code; no longer misbehaves with groups with members, or with NSS modules that output invalid information.

1.0.1

06 Jun 02:25
Compare
Choose a tag to compare

Changes to the build system to make it more suitable for packaging:

  • Install nss.h (needed by NSS modules)
  • Install nscd to sbin/ instead of bin/

1.0

04 Jun 19:34
Compare
Choose a tag to compare
1.0

This is the initial release of the project, implementing the basic necessary functionality to work.