Page MenuHomeFreeBSD

acpi_spmc: Make sure constraints array doesn't end up sparse
ClosedPublic

Authored by obiwac on Thu, Sep 10, 9:37 AM.
Tags
None
Referenced Files
F174430531: D59562.diff
Sat, Oct 3, 3:54 AM
Unknown Object (File)
Thu, Oct 1, 9:49 PM
Unknown Object (File)
Thu, Oct 1, 4:13 PM
Unknown Object (File)
Thu, Oct 1, 8:18 AM
Unknown Object (File)
Thu, Oct 1, 7:57 AM
Unknown Object (File)
Thu, Oct 1, 5:50 AM
Unknown Object (File)
Thu, Oct 1, 3:56 AM
Unknown Object (File)
Wed, Sep 30, 12:46 PM
Subscribers

Details

Summary

If we skip one of the constraint package elements and decrement
sc->constraint_count, sc->constraints would end up sparse and some of
our constraints would be put aftre sc->constraint_count.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable