[Bug 232206] [truss] update strsize parameter handling

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 10 21:48:19 UTC 2018


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

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jhb
Date: Mon Dec 10 21:47:19 UTC 2018
New revision: 341802
URL: https://svnweb.freebsd.org/changeset/base/341802

Log:
  Validate the string size parameter passed to -s.

  Use strtonum() to reject negative sizes instead of core dumping.

  PR:           232206
  Submitted by: David Carlier <devnexen at gmail.com>
  MFC after:    2 weeks
  Differential Revision:        https://reviews.freebsd.org/D17537

Changes:
  head/usr.bin/truss/main.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list