buffer.c revision 3281669db44d09a087a203201248abbc81b3cc1a
0N/A/* Copyright (c) 2002-2012 Dovecot authors, see the included COPYING file */ 0N/A/* @UNSAFE: whole file */ 0N/A /* clear used..dirty area */ 1135N/A /* buffer's size increased: move the buffer's memory elsewhere. 1135N/A this should help catch bugs where old pointers are tried to 0N/A be used to access the buffer's memory */ 0N/A /* clear the whole memory area. unnecessary usually, but if the 0N/A buffer is used by e.g. str_c() it tries to access uninitialized /* delete from between */ /* delete the rest of the buffer */