mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 02:52:56 +00:00
2a2db520e3
In some initialization functions of this driver, memory is allocated with 'i' acting as an index variable and increasing from 0. The commit in "Fixes" introduces some clean-up codes in case of allocation failure, which free memory in reverse order with 'i' decreasing to 0. However, there are some problems: - The case i=0 is left out. Thus memory is leaked. - In case memory allocation fails right from the start, the memory freeing loops will start with i=-1 and invalid memory locations will be accessed. One of these loops has been fixed in commit |
||
---|---|---|
.. | ||
baseband.c | ||
baseband.h | ||
card.c | ||
card.h | ||
channel.c | ||
channel.h | ||
desc.h | ||
device_cfg.h | ||
device_main.c | ||
device.h | ||
dpc.c | ||
dpc.h | ||
Kconfig | ||
key.c | ||
key.h | ||
mac.c | ||
mac.h | ||
Makefile | ||
power.c | ||
power.h | ||
rf.c | ||
rf.h | ||
rxtx.c | ||
rxtx.h | ||
srom.c | ||
srom.h | ||
test | ||
TODO |