# Re: \[PATCH\] \[2.6.22\] Fix a potential NULL pointer dereference in free\_shared\_mem() in drivers/net/s2io.c

- From: Jeff Garzik \<hidden\>
- Date: 2007-07-09 03:26:04 
- List: netdev
- Page: https://ratatoskr.run/netdev/2007/07/976894

```text
Micah Gruber wrote:
> This patch fixes a potential null dereference bug where we dereference nic before a null check. This patch simply moves the dereferencing after the null check.
>
> Signed-off-by: Micah Gruber < <redacted> <mailto:<redacted>>>

any chance you can resend in an email format other than format=flowed?

	Jeff



```
