Commit a17777d161583401983a6dc1e5a659c9dc2f5257

Alex Budovski 2011-01-07T11:35:43

Fixed two buffer handling errors in vector.c - remove() would read one-past array bounds. - resize() would fail if the initial size was 1, because it multiplied by 1.75 and truncated the resulting value. The buffer would always remain at size 1, but elements would repeatedly be appended (via insert()) causing a crash.