Author: Ao Luo Date: To: yaffs Subject: [Yaffs] temp buffer management issues
Two suggested change in temp buffer management:
1. When format disk before mounted, the buffer is not allocated and may
return NULL buffer pointers.
2. The size of unmanaged buffer should use total_bytes_per_chunk,
otherwise it will cause buffer overflow in inband tag mode.