Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2016-08-30 | Fix potential heap buffer corruption due to Strgrow | Kuang-che Wu | 1 | -2/+2 | |
If Str.length = 5 and area_size = 6, the result of Strgrow is still area_size = 6. For such case, Strcat_char and Strinsert_char will overflow one byte. | |||||
2015-08-11 | Use fgetc in while loops, use int instead of char | David Crosby | 1 | -10/+4 | |
2015-07-25 | Strnew_charp and co do not modify the char* input | Richard Quirk | 1 | -8/+8 | |
2015-01-15 | Do not use C99 printf format specifiers and asprintf | Tatsuya Kinoshita | 1 | -20/+96 | |
2015-01-15 | Correct printf arguments and use asprintf | Scarlett | 1 | -96/+20 | |
Origin: http://marc.info/?l=openbsd-ports&m=142090828929750&w=2 * Str.c: Use asprintf() instead of rolling our own printf string length detection. * cookie.c: Pass the char pointer in the string struct to printf %s instead of the string struct itself. Print time_t using %lld instead of %ld to allow for 64-bit time_t. * main.c: Print a long int using the correct format specifier. * map.c: Print size_t using the correct format specifier. | |||||
2013-08-04 | Check length for Strchop() | Tatsuya Kinoshita | 1 | -2/+2 | |
2011-05-04 | Adding upstream version 0.5.1upstream/0.5.1 | Tatsuya Kinoshita | 1 | -0/+557 | |