Page MenuHomeFreeBSD

sfxge(4): fix out of bounds read when dereferencing sdup
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 5:52 AM
Unknown Object (File)
Nov 19 2024, 9:33 AM
Unknown Object (File)
Nov 17 2024, 9:22 PM
Unknown Object (File)
Nov 5 2024, 3:26 PM
Unknown Object (File)
Oct 21 2024, 5:15 PM
Unknown Object (File)
Oct 21 2024, 5:14 PM
Unknown Object (File)
Oct 21 2024, 5:14 PM
Unknown Object (File)
Oct 21 2024, 4:54 PM
Subscribers

Details

Summary

Introduce and use macro to make sure that MCDI buffers allocated
on stack are rounded up properly.

Submitted by: Gautam Dawar <gdawar at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 30 2018, 7:07 AM
This revision was automatically updated to reflect the committed changes.