- 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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
resources | Loading commit data... | |
.gitignore | Loading commit data... | |
NAMING | Loading commit data... | |
t0002-refcnt.c | Loading commit data... | |
t0003-strutil.c | Loading commit data... | |
t0004-vector.c | Loading commit data... | |
t0020-dirent.c | Loading commit data... | |
t0101-hash.c | Loading commit data... | |
t0101-oid.c | Loading commit data... | |
t0102-objtype.c | Loading commit data... | |
t0103-objhash.c | Loading commit data... | |
t0201-existsloose.c | Loading commit data... | |
t0202-readloose.c | Loading commit data... | |
t0203-readloose.c | Loading commit data... | |
t0204-readpack.c | Loading commit data... | |
t0205-readheader.c | Loading commit data... | |
t0301-write.c | Loading commit data... | |
t0401-parse.c | Loading commit data... | |
t0402-details.c | Loading commit data... | |
t0403-write.c | Loading commit data... | |
t0501-walk.c | Loading commit data... | |
t0502-list.c | Loading commit data... | |
t0601-read.c | Loading commit data... | |
t0602-write.c | Loading commit data... | |
t0603-sort.c | Loading commit data... | |
t0701-table.c | Loading commit data... | |
t0702-tableit.c | Loading commit data... | |
t0801-readtag.c | Loading commit data... | |
t0802-write.c | Loading commit data... | |
t0901-readtree.c | Loading commit data... | |
t0902-modify.c | Loading commit data... | |
test_helpers.c | Loading commit data... | |
test_helpers.h | Loading commit data... | |
test_lib.c | Loading commit data... | |
test_lib.h | Loading commit data... | |
test_main.c | Loading commit data... | |
tests.supp | Loading commit data... |