1. 30 May, 2018 2 commits
    • confile: improve strprint() · 9496659c
      Christian Brauner authored
      POSIX specifies [1]:
      "If the value of n is zero on a call to snprintf(), nothing shall be written,
      the number of bytes that would have been written had n been sufficiently large
      excluding the terminating null shall be returned, and s may be a null pointer."
      
      But in case there are any non-sane libcs out there that do actually dereference
      the buffer when when 0 is passed as length to snprintf() let's give them a
      dummy buffer.
      
      [1]: The Open Group Base Specifications Issue 7, 2018 edition
           IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008)
           Copyright © 2001-2018 IEEE and The Open Group
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
      Reported-by: 's avatarDonghwa Jeong <dh48.jeong@samsung.com>
    • Merge pull request #2363 from 2xsec/master · 9715e65c
      Christian Brauner authored
      conf: va_end was not called.
  2. 29 May, 2018 2 commits
  3. 28 May, 2018 9 commits
  4. 26 May, 2018 15 commits
  5. 25 May, 2018 12 commits