Memory Corruption when output buffer size is smaller than input buffer size during data copying operation.