netdev
[Top] [All Lists]

[PATCH Linux-2.6.8-rc1] prism54 Fix reference to uninitialized pointer

To: jgarzik@xxxxxxxxx
Subject: [PATCH Linux-2.6.8-rc1] prism54 Fix reference to uninitialized pointer
From: margitsw@xxxxxxxxxxx (Margit Schubert-While)
Date: Thu, 15 Jul 2004 15:52:02 +0200
Cc: netdev@xxxxxxxxxxx, prism54-devel@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.5.4
2004-07-15 Margit Schubert-While <margitsw@xxxxxxxxxxx>

* oid_mgt.c is calling islpci_mgt_transaction passing the address
  of a pointer to the management frame. This is not being
  initialized by the caller. The callee only updates this
  pointer when successful. When not, boom.

* Being ultracautious again, not only initialize in the caller,
  also null out the pointer unconditionally in the callee.


Margit








Attachment: mgtframeptr.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>