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, May 7, 10:45 AM
Unknown Object (File)
Sun, May 3, 1:43 AM
Unknown Object (File)
Fri, Apr 24, 4:48 AM
Unknown Object (File)
Mon, Apr 20, 8:45 PM
Unknown Object (File)
Mon, Apr 20, 12:30 PM
Unknown Object (File)
Mon, Apr 20, 11:47 AM
Unknown Object (File)
Wed, Apr 15, 1:02 PM
Unknown Object (File)
Wed, Apr 15, 2:20 AM
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.