bulkmem.c - null ptr fixes for 2.4.4
Em Thu, May 24, 2001 at 03:26:20PM +0100, Alan Cox escreveu:
Quoted 5 lines
Quoted 2 lines
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