Bug #3843

kstat should handle NULL string values

Added by Theo Schlossnagle over 5 years ago. Updated over 5 years ago.

Status:ResolvedStart date:2013-06-23
Priority:HighDue date:
Assignee:Theo Schlossnagle% Done:


Category:cmd - userland programs
Target version:-
Difficulty:Bite-size Tags:needs-triage


If NULL string values are encountered, kstat will SIGSEGV.


#1 Updated by Dan McDonald over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Branch: refs/heads/master
Home: https://github.com/illumos/illumos-gate
Commit: 861bfc8941f2c557f1bcb7a6d7f62f9da98ee4db
Author: Theo Schlossnagle <>
Date: 2013-06-23 (Sun, 23 Jun 2013)

Changed paths:
M usr/src/cmd/stat/kstat/kstat.h
Log Message:
3843 kstat should handle NULL string values
Reviewed by: Carlos Cardenas &lt;&gt;
Reviewed by: Igor Kozhukhov &lt;&gt;
Reviewed by: Richard Lowe &lt;&gt;
Approved by: Dan McDonald &lt;&gt;

#2 Updated by Dan McDonald over 5 years ago

Should there be an effort to hunt down NULL-string kstats?

Also available in: Atom