Index: column.c =================================================================== RCS file: /cvs/src/usr.bin/column/column.c,v retrieving revision 1.13 diff -u -r1.13 column.c --- column.c 2007/05/01 01:26:23 1.13 +++ column.c 2007/07/31 09:42:46 @@ -229,10 +229,10 @@ for (coloff = 0, p = *lp; (cols[coloff] = strtok(p, separator)); p = NULL) if (++coloff == maxcols) { - if (!(cols2 = realloc(cols, (u_int)maxcols + - DEFCOLS * sizeof(char *))) || + if (!(cols2 = realloc(cols, ((u_int)maxcols + + DEFCOLS) * sizeof(char *))) || !(lens2 = realloc(lens, - (u_int)maxcols + DEFCOLS * sizeof(int)))) + ((u_int)maxcols + DEFCOLS) * sizeof(int)))) err(1, NULL); cols = cols2; lens = lens2;