[Midnightbsd-cvs] [MidnightBSD/src] c1ab3c: Handlers for *_CFG_PAGE read / write ioctls in the...

Lucas Holt noreply at github.com
Wed Apr 6 22:14:15 EDT 2022


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: c1ab3cbc881b28799a768bbfb3647f4ce8f4cf1d
      https://github.com/MidnightBSD/src/commit/c1ab3cbc881b28799a768bbfb3647f4ce8f4cf1d
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M sys/dev/mpr/mpr_user.c
    M sys/dev/mps/mps_user.c
    M sys/dev/mpt/mpt_user.c

  Log Message:
  -----------
  Handlers for *_CFG_PAGE read / write ioctls in the mpr, mps, and mpt drivers
allocated a buffer of a caller-specified size, but copied to it a fixed size
header.  Other heap content would be overwritten if the specified size was
too small.

Obtained from: FreeBSD




More information about the Midnightbsd-cvs mailing list