Håvard Skinnemoen de591dacf3 MTD: Fix bug in fixup_convert_atmel_pri
The memset() in fixup_convert_atmel_pri is supposed to zero out
everything except the first 5 bytes in *extp, but it ends up zeroing
out something way outside the struct instead. Fix this potentially
dangerous code by casting the pointer to char * before doing
arithmetic.

Signed-off-by: Håvard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-09-16 13:54:17 +01:00
..
2006-07-08 13:30:09 -07:00
2006-08-26 13:05:12 -07:00
2006-07-14 21:53:54 -07:00
2006-08-07 14:47:54 +01:00
2006-07-12 15:38:28 -07:00
2006-06-17 21:18:43 -07:00