Bug #1804

Bug #1450: Illumos should be buildable with GCC4

hat_sfmmu should verify that shared context identifiers are in-bounds

Added by Rich Lowe almost 4 years ago. Updated over 3 years ago.

Status:ResolvedStart date:2011-11-21
Priority:NormalDue date:
Assignee:Rich Lowe% Done:

100%

Category:kernel
Target version:-
Difficulty:Medium Tags:

Description

GCC4 notices that we don't check the bounds of the region cookie when unlocking a shared region on SPARC. It is very likely that the (passed-in) cookie will always be valid, and in fact we assert it is so in DEBUG kernels. We may as well VERIFY it, instead, so that the check is in release builds and GCC is happy.

History

#1 Updated by Rich Lowe over 3 years ago

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

Resolved in r13649 commit:049724836164

Also available in: Atom