cvs commit: src/sys/compat/linux linux_socket.c

Dag-Erling Smorgrav des at FreeBSD.org
Mon Aug 23 05:41:30 PDT 2004


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


More information about the cvs-src mailing list