Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 12:41:29 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/linux linux_socket.c
Message-ID:  <200408231241.i7NCfTJx076310@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         2004-08-23 12:41:29 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_socket.c 
  Log:
  Don't try to translate the control message unless we're certain it's
  valid; otherwise a caller could trick us into changing any 32-bit word
  in kernel memory to LINUX_SOL_SOCKET (0x00000001) if its previous value
  is SOL_SOCKET (0x0000ffff).
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.52      +2 -1      src/sys/compat/linux/linux_socket.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408231241.i7NCfTJx076310>