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
Unknown Object (File)
Tue, Sep 15, 10:37 AM
Unknown Object (File)
Tue, Sep 15, 8:50 AM
Unknown Object (File)
Tue, Sep 15, 7:58 AM
Unknown Object (File)
Tue, Sep 15, 6:09 AM
Unknown Object (File)
Mon, Sep 14, 8:29 PM
Unknown Object (File)
Mon, Sep 14, 8:48 AM
Unknown Object (File)
Mon, Sep 14, 8:36 AM
Unknown Object (File)
Sun, Sep 13, 12:37 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 76734
Build 73617: arc lint + arc unit