Go to file
Guillem Jover ce53f7c25f nlist: Fix pread() return value check
We should check for partial reads, and not continue in those cases,
as we are not retrying them, otherwise we might end up operating on
uninitialized data.

Reported-by: Daniel Hodson <daniel@elttam.com.au>
Based-on-patch-by: Daniel Hodson <daniel@elttam.com.au>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2019-08-08 03:22:09 +02:00
include Provide a <sys/param.h> with MIN() and MAX() 2019-08-08 03:22:09 +02:00
man nlist: Check whether the nl argument is not NULL 2019-08-08 03:22:09 +02:00
src nlist: Fix pread() return value check 2019-08-08 03:22:09 +02:00
test Don't require <grp.h> 2018-06-18 04:31:00 +02:00
.gitignore build: Set subdir-objects automake option 2013-10-21 05:33:08 +02:00
.gitlab-ci.yml build: Simplify gitlab CI configuration 2018-05-31 04:00:26 +02:00
autogen build: Switch to autotools 2012-05-29 04:35:55 +02:00
configure.ac build: Detect Windows/MinGW at configure time 2019-08-08 03:22:09 +02:00
COPYING Provide a <sys/param.h> with MIN() and MAX() 2019-08-08 03:22:09 +02:00
get-version build: Switch to autotools 2012-05-29 04:35:55 +02:00
Makefile.am build: Make git log invocation immune to local configuration 2015-11-30 23:02:23 +01:00
README Switch URLs from http or git to https 2016-02-13 08:46:35 +01:00
TODO man: Replace references to a.out(5) with elf(5) 2019-08-08 03:22:09 +02:00

libbsd - Utility functions from BSD systems

This library provides useful functions commonly found on BSD systems,
and lacking on others like GNU systems, thus making it easier to port
projects with strong BSD origins, without needing to embed the same
code over and over again on each project.


Releases
--------

  <https://libbsd.freedesktop.org/releases/>


Mailing List
------------

The subscription interface and web archives can be found at:

  <https://lists.freedesktop.org/mailman/listinfo/libbsd>

The mail address is:

  libbsd@lists.freedesktop.org


Source Repository
-----------------

The master repository can be browsed at:

  <https://cgit.freedesktop.org/libbsd>

and cloned from:

  <https://anongit.freedesktop.org/git/libbsd>