Hi,

While implementing a loopback block device for the sandbox board, i have found 
an issue in block drivers. From what i can tell, none of the drivers ever 
free() their private data (that is sata_dev_desc[]->priv), some of them 
(dwc_ahsata, fsl_sata) do not even check if they are already inited.
If i have one of these drivers, i can repeatedly do "sata init" until all my 
memory is leaked. Noone is stupid enough to do this, but it still shouldn't be 
possible.

Best regards,
Pavel Herrmann
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to