https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243106

--- Comment #2 from commit-h...@freebsd.org ---
A commit references this bug:

Author: markj
Date: Tue Jan  7 21:44:27 UTC 2020
New revision: 356476
URL: https://svnweb.freebsd.org/changeset/base/356476

Log:
  libjail: Handle an error from reallocarray() when trimming the buffer.

  There is no API guarantee that realloc() will not fail when the buffer
  is shrinking.  Handle it by simply returning the untrimmed buffer.
  While this is unlikely to ever happen in practice, it seems worth
  handling just to silence static analyzer warnings.

  PR:           243106
  Submitted by: Hans Christian Woithe <chwoi...@yahoo.com>
  MFC after:    1 week

Changes:
  head/lib/libjail/jail.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Reply via email to