func: static int CVE_2011_3002_VULN_GrowAtomTable(AtomTable *atable, int size) int * newmap , * newrev ; if ( atable -> size < size )  if ( atable -> amap )  newmap = realloc ( atable -> amap , sizeof ( int ) * size ); if ( ! newmap || ! newrev )  if ( newmap )  atable -> amap = newmap; atable -> arev = newrev; memset ( & newmap [ atable -> size ] , 0 , ( size - atable -> size ) * sizeof ( int ) ); atable -> amap = newmap; atable -> arev = newrev; atable -> size = size; 