Re: [PATCH] bulkmem.c - null ptr fixes for 2.4.4

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Thu, 24 May 2001 11:59:20 -0300


Em Thu, May 24, 2001 at 03:26:20PM +0100, Alan Cox escreveu:
> > kernel code. This patch fixes numerous unchecked pointers in the PCMCIA
> > bulkmem driver.
>
> Since when has two been numerous - also I dont thin the fix is right - you need
> to undo what has already been done

and anyway, 2.4.4-ac15 already has the checks, it just doesnt deallocates
what's have already been inserted in the list in setup_regions, the memory
doesn't seem to get lost, but I think its better deallocate whats been
done if it fails halfway in setup_regions.

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/