1. 22 12月, 2009 1 次提交
    • D
      Libertas: fix buffer overflow in lbs_get_essid() · 45b24168
      Daniel Mack 提交于
      The libertas driver copies the SSID buffer back to the wireless core and
      appends a trailing NULL character for termination. This is
      
      a) unnecessary because the buffer is allocated with kzalloc and is hence
         already NULLed when this function is called, and
      
      b) for priv->curbssparams.ssid_len == 32, it writes back one byte too
         much which causes memory corruptions.
      
      Fix this by removing the extra write.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Stephen Hemminger <shemminger@vyatta.com>
      Cc: Maithili Hinge <maithili@marvell.com>
      Cc: Kiran Divekar <dkiran@marvell.com>
      Cc: Michael Hirsch <m.hirsch@raumfeld.com>
      Cc: netdev@vger.kernel.org
      Cc: libertas-dev@lists.infradead.org
      Cc: linux-wireless@lists.infradead.org
      Cc: stable@kernel.org
      Acked-by: NHolger Schurig <holgerschurig@gmail.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      45b24168
  2. 28 10月, 2009 7 次提交
  3. 08 10月, 2009 2 次提交
  4. 05 8月, 2009 1 次提交
  5. 11 7月, 2009 1 次提交
  6. 22 3月, 2009 1 次提交
  7. 27 2月, 2009 1 次提交
  8. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-4 · 524ad0a7
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      This patch is a safe convert for netdev->priv to netdev_priv(netdev).
      Since all of the netdev->priv is only for read.
      But it is too big to be sent in one mail.
      I split it to 4 parts and make every part smaller than 100,000 bytes,
      which is max size allowed by vger.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      524ad0a7
  9. 11 11月, 2008 1 次提交
  10. 01 11月, 2008 2 次提交
  11. 28 10月, 2008 1 次提交
  12. 01 10月, 2008 1 次提交
  13. 25 9月, 2008 1 次提交
  14. 16 9月, 2008 3 次提交
  15. 12 9月, 2008 1 次提交
  16. 30 8月, 2008 4 次提交
  17. 04 6月, 2008 1 次提交
  18. 22 5月, 2008 1 次提交
  19. 09 4月, 2008 3 次提交
  20. 26 3月, 2008 3 次提交
  21. 14 3月, 2008 1 次提交
  22. 29 1月, 2008 2 次提交