On 9/5/05, Jiri Slaby <[EMAIL PROTECTED]> wrote:
> > rxq = (struct ipw_rx_queue *)kmalloc(sizeof(*rxq), GFP_KERNEL);
> >+ if (unlikely(!rxq)) {
> >+ IPW_ERROR("memory allocation failed\n");
> >+ return NULL;
> >+ }
> > memset(rxq, 0, sizeof(*rxq));
>
Panagiotis Issaris napsal(a):
The ipw2200 driver code in current GIT contains a kmalloc() followed by
a memset() without handling a possible memory allocation failure.
Signed-off-by: Panagiotis Issaris <[EMAIL PROTECTED]>
---
drivers/net/wireless/ipw2200.c |4
1 files changed, 4 insert
The ipw2200 driver code in current GIT contains a kmalloc() followed by
a memset() without handling a possible memory allocation failure.
Signed-off-by: Panagiotis Issaris <[EMAIL PROTECTED]>
---
drivers/net/wireless/ipw2200.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
8e288
3 matches
Mail list logo