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
F171785294: D59562.diff
Sun, Sep 13, 12:37 PM
F171779195: D59562.id186355.diff
Sun, Sep 13, 11:37 AM
F171774368: D59562.id186414.diff
Sun, Sep 13, 10:43 AM
F171728973: D59562.id186414.diff
Sun, Sep 13, 2:13 AM
Unknown Object (File)
Sat, Sep 12, 10:22 PM
Unknown Object (File)
Sat, Sep 12, 2:44 PM
Unknown Object (File)
Sat, Sep 12, 12:55 PM
Unknown Object (File)
Sat, Sep 12, 12:24 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