1. 05 Jul, 2018 18 commits
  2. 18 Jun, 2018 9 commits
  3. 17 Jun, 2018 3 commits
    • Guillem Jover's avatar
      Remove dead code in vis · 5e0998fa
      Guillem Jover authored
      The loop only executes while len > 0, and the trinary operator in the
      function argument is checking against len >= 1 which will always be
      Warned-by: coverity
    • Guillem Jover's avatar
      Fix vis family of functions to not leak · 8e2d5504
      Guillem Jover authored
      The code uses an internal helper function to avoid code repetition. But
      to get there, the function takes a pointer to a pointer, so that the few
      functions that require returning an allocated buffer can get hold of it
      this way.
      The problem is that the user might pass a NULL pointer and trigger an
      internal allocation even if the functions are not expected to do so.
      Add a new internal helper for non-allocations, that will assert that
      condition, and make any other function that requires this behavior call
      this one instead.
      Warned-by: coverity
    • Baruch Siach's avatar
      flopen: Add missing <fcntl.h> include · 13c32916
      Baruch Siach authored and Guillem Jover's avatar Guillem Jover committed
      Commit 993828d8 (Add flopenat() function from FreeBSD) dropped the
      fcntl.h header. This breaks the build with musl libc:
      flopen.c: In function ‘vflopenat’:
      flopen.c:60:14: error: ‘O_CREAT’ undeclared (first use in this function)
        if (flags & O_CREAT) {
      Restore the fcntl.h header include to fix the build.
      Fixes: commit 993828d8
      Submitted-also-by: default avatarparazyd <parazyd@dyne.org>
      Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
      Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
  4. 31 May, 2018 4 commits
  5. 23 May, 2018 2 commits
  6. 22 May, 2018 4 commits
    • Guillem Jover's avatar
      Release libbsd 0.9.1 · 1ca09c18
      Guillem Jover authored
    • Guillem Jover's avatar
      Fix strnvis() and strnunvis() NetBSD ABI break · e4e15ed2
      Guillem Jover authored
      The NetBSD implementations have different prototypes to the ones coming
      from OpenBSD, which will break builds, and have caused segfaults at
      run-time. We provide now both interfaces with different prototypes as
      different version nodes allow selecting them at compile-time, defaulting
      for now to the OpenBSD one to avoid build-time breakage, while emitting
      a compile-time warning. Later on, in 0.10.0, we will be switching the
      compile-time default to the NetBSD version.
      Ref: http://gnats.netbsd.org/44977
      Fixes: https://bugs.debian.org/899282
    • Guillem Jover's avatar
      Add symbol redirection support · bf697b90
      Guillem Jover authored
      We need this to be able to select different version symbols at
    • Guillem Jover's avatar
      Fix COPYING file format · f1966385
      Guillem Jover authored
      We cannot refer to a License short-name if that is not on its own
      License paragraph. Split several other common License fields into
      their own paragraphs to avoid this problem in the future.