--- libelwix/inc/elwix/avar.h 2019/09/24 15:49:52 1.11 +++ libelwix/inc/elwix/avar.h 2022/01/06 15:13:01 1.12 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: avar.h,v 1.11 2019/09/24 15:49:52 misho Exp $ +* $Id: avar.h,v 1.12 2022/01/06 15:13:01 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2019 +Copyright 2004 - 2022 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -353,6 +353,7 @@ typedef struct __packed { switch (AIT_TYPE(__val)) { \ case buffer: \ case string: \ + assert(!__val->val_in); \ if (__val->val.buffer) \ memset(__val->val.buffer, 0, \ AIT_LEN(__val)); \