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
F171674828: D59562.id186355.diff
Sat, Sep 12, 2:44 PM
F171663999: D59562.diff
Sat, Sep 12, 12:55 PM
F171660661: D59562.diff
Sat, Sep 12, 12:24 PM
F171642246: D59562.id186355.diff
Sat, Sep 12, 9:28 AM
Unknown Object (File)
Fri, Sep 11, 11:57 AM
Unknown Object (File)
Thu, Sep 10, 8:26 PM
Unknown Object (File)
Thu, Sep 10, 8:25 PM
Unknown Object (File)
Thu, Sep 10, 8:23 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