Bug #1549

Bug #1450: Illumos should be buildable with GCC4

SPARC pci drivers write past end of pcitool driver name

Added by Rich Lowe over 6 years ago. Updated over 6 years ago.

Status:ResolvedStart date:2011-09-22
Priority:NormalDue date:
Assignee:Rich Lowe% Done:


Target version:-
Difficulty:Bite-size Tags:


The SPARC pci nexus drivers, in each of the routines used to support pcitool(1M) write one byte off the end of the driver name:

-                devs[i].driver_name[MAXMODCONFNAME] = '\0';

(that example is from sun4u/io/pci/pci_ib.c, px and niumx also do the same thing).

Bug found by GCC4's better error checking.


#1 Updated by Rich Lowe over 6 years ago

  • Category set to kernel
  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Resolved in r13466 commit:e23b8d796527

Also available in: Atom