IABSD.fr/src/lib/libedit

Branch :


Log

Author Commit Date CI Message
48c01a1f 2020-04-23 21:28:08 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;
f481be8c 2019-09-04 00:00:49 Correct the length of read from file, wide character buffer, add NUL terminate to read buffer. This fix the bug that does not run input command entered by vi editor. This fix is come from NetBSD lib/libedit/vi.c 1.46 and 1.47. ok schwarze@ deraadt@
bb904666 2019-09-03 02:28:25 Correct the length for argument of reallocarray(). This fix the SEGV when launch the vi editor in vi mode. This fix is similar 1.63 from NetBSD lib/libedit/vi.c. OK schwarze@ yasuoka@
97a352df 2019-08-14 08:31:00 read() returns -1 on failure ok yasuoka@
2853db30 2019-08-07 04:22:16 Initialize the line buffer by zero when allocation. This fixes the problem a crash happens after the window size change. Worked and discussed with asou and schwarze. ok schwarze
df69c215 2019-06-28 13:32:41 When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
c2d43eca 2019-06-28 05:35:34 mkstemp() returns -1 on failure
45e13dcb 2019-01-29 09:47:00 Terminate NULL in argv. This fix is come from 1.31 from NetBSD lib/libedit/chartype.c via FreeBSD. From tj@ ok tb
ec6ecd8a 2019-01-15 01:54:00 Fix the inter-library dependency for libedit and libreadline. Previously they tried to depend on libtermcap which actually doesn't exist in the objdir. ok jca
b5769cf6 2018-11-14 20:43:48 Record an inter-library dependency on libcurses in libedit and libreadline, avoiding runtime failures on architectures using ld.lld. Also add a note to libcurses shlib_version reminding about bumps (as done with libcrypto/libssl). Thanks guenther@ for suggestions of tests involving library bumps and jca@ for doing these tests and hint about DPADD. Looks good kettenis@, ok jca@
d8c2a151 2018-10-11 15:19:09 In re_fastputc(), set lastline to the new line, not the previous line so it gets initialized properly. Fixes a crash in bc with MALLOC_OPTIONS=UJ. OK deraadt@, committing on behalf of yasuoka@
d96a07ce 2017-10-17 19:31:56 remove the remaining references to .depend files since nothing creates them any longer; ok espie@ deraadt@
44b0a3c1 2017-07-26 12:10:56 Initialize "old" screen buffer lines before use; otherwise, they would never get NUL-terminated and cause read buffer overruns. This fixes for example segfaults in sftp(1) that could be triggered by typing in an extremely long string (more than one line - the longer, the likelier to crash), then hitting backspace once. Problem reported and patch OK'ed by sthen@.
2b34b792 2017-07-10 21:30:37 remove misc. depend and yacc nits that no longer matter. okay millert@
1e1db3e5 2017-07-03 18:19:55 Generate source and header files for regress on demand. OK espie@
2eaa2fe8 2017-06-16 10:25:54 mark files as BUILDFIRST, or write explicit dependencies, so that most programs will build even without a make depend first. okay tb@ millert@
7b6df1e2 2017-04-12 18:24:37 Use calloc(3) and recallocarray(3) instead of *alloc* + memset(0). ok deraadt
ef07c437 2016-05-31 16:12:00 Fix a crash in stifle_history() that occurred when the history contained more than twice as many entries as the new limit: The argument of remove_history() only counts existing elements, not those previously deleted. Crash found by bentley@ when exiting sqlite3(1).
088576a9 2016-05-25 09:36:21 el_map.alt can never be NULL, delete dead code OK czarkoff@
eea31d84 2016-05-25 09:23:49 Saving errno in el_errno is only needed for one purpose: Restoring the original errno found in el_wgetc() after el_wgets() did some cleanup that may have changed errno. Improve clarity and robustness of the code by not setting and inspecting el_errno where it isn't needed; in particular, let keymacro_get() properly report read failure to read_getcmd(). Move el_errno to el_read_t because it's only used in read.c. Never set errno back to zero. Checked with a test program installing a USR1 signal handler without SA_RESTART, for the cases read_getcmd(), ed_quoted_insert(), keymacro_get(), ed_command(), and EL_EDITMODE=0. OK czarkoff@
92d0105e 2016-05-24 18:06:30 Remove debugging ifdefs. I'm debugging the read module for weeks now, but these ifdefs aren't helpful. OK cpp(1).
5161d913 2016-05-22 23:09:56 Improve modularization at the chared/read boundary, no functional change. Stop the read.c module from poking the el_chared.c_macro data structure that used to belong to the chared.c module. Given that no other module, not even chared itself, is using that data, move it into the read modules's own opaque data structure, struct el_read_t. That gets rid of one struct, one #define, one struct member, and one function argument in the chared.h interface. OK czarkoff@
f19fdde8 2016-05-22 22:08:42 Document el_wpush(3) and fix the description of el_push(3). Improve precision in the description of the "bind" builtin command. Tweak terminology to better match editline(7).
f34127af 2016-05-21 16:34:30 Simple sync with NetBSD, mostly to avoid confusion of arguments and return values.
88e2dc3a 2016-05-21 16:17:09 Fix the prototype used by EL_GETCFN, mention the associated typedef name, document the return values, expand the list of affected functions, warn against using EL_GETCFN, and clarify some wording and notation.
04833be7 2016-05-20 15:30:17 Move the declaration of the function pointer type el_rfunc_t from the private header "read.h" to the public header <histedit.h>. That's not an interface change, it was already used and documented publicly, merely not properly declared. Improve encapsulation: Make el_read a pointer to an opaque struct in struct editline, such that "read.h" no longer needs to be included from "el.h" but only from the two files using it, read.c and el.c. Only pass the required el_read_t to el_read_{s,g}etfn(), do not pass the full struct editline. OK czarkoff@, also proofread by Christian Heckendorf <mbie at ulmus dot me>.
53766283 2016-05-10 11:53:54 Enable separate compilation while keeping internal interfaces hidden. Simplifies the build system and prevents modules from stomping on each other's static symbols. Based on a hint from guenther@, using feedback from kettenis@ and deraadt@.
47f0686a 2016-05-10 11:07:53 Fix next_history() and previous_history(): * The meaning of "next" and "previous" is exchanged in readline(3) with respect to editline(3); this part of the patch from Bastian Maerkisch. * next_history() can move beyond the newest entry; issue pointed out by Bastian Maerkisch, fix by me. While here, make the documentation of ed-next-history, ed-prev-history, H_NEXT, and H_PREV more precise. OK czarkoff@.
dddc8490 2016-05-10 10:49:37 Fix history_get(): * Respect history_base. * Bail out early for arguments that are too small. * Select entry by readline offset, not by editline event number. * Restore history cursor in case of failure. This fixes the test_remove() regression test. Based on a patch from Bastian Maerkisch <bmaerkisch at web dot de>. Dmitrij Czarkoff pointed out a flaw in it that i fixed. OK czarkoff@.
5eaeb63f 2016-05-09 12:31:55 Fix stifle_history(): Remove excessive entries, if any. Based on a patch from Bastian Maerkisch <bmaerkisch at web dot de>, with an additional fix for a memory leak by me. OK czarkoff@
42bbcabc 2016-05-08 13:52:33 Change where_history() to agree with the GNU implementation: Return 0 for the oldest entry and increment by 1 for each newer, non-deleted entry. This fixes the test_where() regression test. Patch from Bastian Maerkisch <bmaerkisch at web dot de>. OK czarkoff@.
07f7d775 2016-05-08 13:34:35 Make the history_set_pos() return values agree with the GNU implementation. Patch from Bastian Maerkisch <bmaerkisch at web dot de> with a minor tweak from Christos Zoulas. Fixes the test_set_pos_return_values() regression test. OK czarkoff@, also proofread by zhuk@ and by Christian Heckendorf <mbie at ulmus dot me>.
2e213850 2016-05-06 18:01:40 typos in comments; from Pedro Giffuni (FreeBSD) via Christos Zoulas (NetBSD)
13e01c7a 2016-05-06 13:12:52 Replace the generated file "fcns.c" by a simpler header "func.h" included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files. Feedback and OK martijn@. First version also proofread by Christian Heckendorf <mbie at ulmus dot me>.
2053e281 2016-05-03 11:36:17 Combine help.h and help.c into a simplified help.h and include it only in the one file needing it, map.c. Also delete makelist -bc. OK martijn@, also proofread by Christian Heckendorf <mbie at ulmus dot me>
933c3038 2016-05-03 11:19:30 The files editline.c, historyn.c, and tokenizern.c are completely constant and very short and simple. Check them into CVS rather than generating them at build time in a complicated way. OK martijn@, also proofread by Christian Heckendorf <mbie at ulmus dot me>
e1946848 2016-04-28 09:44:36 Initialize the search buffer. Otherwise, if you called ed-search-prev-history before doing any history search but after entering at least one line into the history, the buffer could get accessed uninitialized, potentially resulting in a read buffer overrun. Segfault reported in sftp(1) via djm@ by Alf Schlichting <A dot Schlichting at lemarit dot com>, who also confirmed that the patch fixes the issue for him. OK martijn@ czarkoff@
fecdd507 2016-04-20 02:36:25 delete unused -m option; ok martijn@ also checked by Christian Heckendorf <mbie at ulmus dot me>
081fbbfb 2016-04-20 01:11:45 New editline(7) manual, explaining to end-users how line editing works in programs like ftp(1), sftp(1), bc(1), and cdio(1) that use libedit. The existing editrc(5) manual only explains customization, and the existing editline(3) manual only explains the C language interface. Already listing all editor functions and all default key bindings, but in other respects, not 100% complete yet, and due to the sheer size, some bugs may have slipped, but all that can be fixed in the tree. OK and tweaks jmc@. Also seems reasonable to Christian Heckendorf <mbie at ulmus dot me>.
55643de9 2016-04-18 20:13:07 Delete redundant, empty callbacks; no functional change, minus hundred lines of code. OK martijn@; also proof-read by Christian Heckendorf <mbie at ulmus dot me>.
0a662d04 2016-04-13 09:42:41 Re-introduce the following commit: OpenBSD read.c rev. 1.4 1997/06/10 20:10:13 millert FIONREAD takes int *, not long * It got lost in the following merge from NetBSD: OpenBSD read.c rev. 1.10 2003/10/31 08:42:24 otto OK millert@ martijn@
8967f771 2016-04-12 09:07:21 Cleanup, no functional change: * Make the return value from read_getcmd() less confusing. * No need to store that return value; testing it once is enough. * Get rid of one #ifdef section in el_wgets(). OK czarkoff@ martijn@
e74981d0 2016-04-12 09:04:02 * Delete the unimplemented feature XK_EXE. * Delete the unused macro MIN(). No functional change. OK czarkoff@ martijn@
ddc81437 2016-04-11 21:17:29 delete the "private" and "public" preprocessor macros, just use standard C; OK martijn@
8dc8c690 2016-04-11 20:54:05 Clean up chartype.h: * not used in tokenizer.c * only use it for !NARROWCHAR * no need for underscores before ct_{de,en}code_string() * make the conversion buffer resize function private OK martijn@
e3191321 2016-04-11 20:43:33 get rid of the non-standard data type "Char" in almost all files; ok martijn@
5c93237d 2016-04-11 19:54:53 Move wrapper macros to the two files actually needing them: FUNW, Strlen, Strdup, Strcmp, Strncmp, Strncpy, Strncat -> history.c Strchr, tok_strdup -> tokenizer.c FUN, TYPE, STR -> both of these files OK martijn@ Also proofread by Christian Heckendorf <mbie at ulmus dot me> who reported some whitespace issues in parse.c.
9e107a6e 2016-04-09 20:28:27 For pointers, use NULL rather than 0; no functional change; from Pedro Giffuni via Christos Zoulas.
565aa7e8 2016-04-09 20:15:26 Delete 26 wrapper macros and two wrapper functions that are no longer needed now that we always compile with wide character support, reducing code obfuscation. OK czarkoff@ martijn@. Diff also proofread by Christian Heckendorf <mbie at ulmus dot me>.
59aed043 2016-04-09 19:31:55 Always compile with WIDECHAR on and delete that preprocessor switch. OK martijn@. Diff also proofread by Christian Heckendorf <mbie at ulmus dot me>.
491df958 2016-04-09 18:42:49 Reset the terminal to its initial state before exiting a program using libedit, using code from NetBSD tty.c rev. 1.42, 1.48, 1.49, 1.58, and 1.59. Code mostly by Christos Zoulas, one bug report by John Hein, one additional bugfix by me (rev. 1.59). While here, switch t_mode to unsigned char, which is sufficient, also from NetBSD. OK martijn@. Also checked by Christian Heckendorf <mbie at ulmus dot me>.
42596f13 2016-04-05 21:24:02 Move more fcntl(,F_GETFL,0) -> fcntl(,F_GETFL). No functional change. ok guenther@
faa33665 2016-03-30 06:38:40 for some time now mandoc has not required MLINKS to function correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
30806f50 2016-03-22 11:32:18 format string fixes in debug code; committing right away because this code is not even compiled by default
6c09c89e 2016-03-22 11:21:02 Add NULL check OK schwarze@
fcbc4fc7 2016-03-22 11:10:57 Fix an obvious typo in a NUL check; bug reported by David Binderman http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=50880 fix suggested by me, NetBSD rev. 1.23 and rev. 1.24.
4cc1fc08 2016-03-21 18:40:25 Christos Zoulas just rescinded clauses 3 & 4 of his licenses, see NetBSD chartype.c rev. 1.23, chartype.h rev. 1.25, eln.c rev. 1.28. No code change.
373dd395 2016-03-21 18:04:40 Markup fixes: use .Ev and .Er where appropriate. While here, also use \-1 rather than -1; not sure that's really better, but Thomas is right it should at least be consistent within a page. From Thomas Klausner <wiz @ NetBSD>.
75e66cb9 2016-03-21 17:53:07 fix el_{w,}getc documentation; OK czarkoff@
c8b52917 2016-03-21 17:28:10 Make the read_char() function always take a wchar_t * argument. On first sight, it might look as if this required a bump because it seems to change the public type el_rfunc_t. But we only compile with WIDECHAR, and in that case, there is no change in the interface. This also simplifies some logic by getting rid of the NARROW_READ flag which was broken anyway. OK czarkoff@
df2a7d38 2016-03-21 15:25:39 Reduce the FUN() macro madness by no longer applying it to el_[w]getc(3). Always use el_wgetc(3) internally. In the !WIDECHAR case, casting the result to (Char) is safe because the function returns a byte rather than a character in that case. No functional change except for fixing a printf(3) format string issue when compiled with DEBUG_READ and WIDECHAR. OK czarkoff@
0a241901 2016-03-21 00:11:56 Merge a few simple fixes from NetBSD: NetBSD rev. 1.68 2012/09/10 christos (bugfixes from Steffen Nurpmeso) * el_wgetc(): set el_errno after read_char() failure * el_wgets(): flag error condition after read_getcmd() failure NetBSD rev. 1.69 2012/09/11 christos (bugfix from Christos Zoulas) * read_getcmd(): return failure after el_wgetc() failure NetBSD rev. 1.75 2016/02/12 christos (cleanup from Christos Zoulas) * read_getcmd(): use a constant rather than a magical number
7ccfa089 2016-03-20 23:48:27 Cleanup of standard header inclusion: 1. Add the missing <errno.h> to sig.c. 2. Do not include standard headers from private headers "chared.h" and "el.h", include them directly where needed. 3. Delete a few needless inclusions of <ctype.h>. 4. Sort the standard headers. 5. Delete _GNU_SOURCE weirdness from histedit.h, that file doesn't even need the access to wcsdup(3) mentioned in the comment. 6. Delete some trailing blanks and blanks before tabs. OK czarkoff@
8df20b6b 2016-03-20 23:24:18 delete useless "typedef int bool_t", use int directly; OK czarkoff@
5564fb94 2016-03-20 22:57:59 Cleanup of private header inclusion: 1. Do not include private headers from "chared.h", "hist.h", "prompt.h", "refresh.h", "search.h", "sig.h", "terminal.h", "tty.h". The only private header having to include other private headers is "el.h". 2. Do not include "common.h", "parse.h", "help.h" from "el.h", and do not include "emacs.h" and "vi.h" from "chared.h", include them directly where needed. 3. Do include "fcns.h" from "el.h" because el_func_t is needed for "map.h". 4. Do not include private headers again that are already included by "el.h". 5. Include private headers after standard headers. OK czarkoff@
08fa2ccc 2016-03-20 22:20:17 support WIDECHAR; OK czarkoff@
f3a50c9e 2016-03-20 22:09:24 Use getline(3) rather than fgetln(3) because it is standardized and simpler and safer to use. Implemented by Christos Zoulas following my suggestion, with a bug fix by me.
a32142af 2016-03-20 21:25:27 minor simplifactions, style fixes, and trivial syncs from NetBSD
67aa1d3d 2016-03-20 21:04:15 Fix the same bug again that was already fixed in: OpenBSD tokenizer.c rev. 1.8 2003/08/11 18:21:40 deraadt Don't increase amax on realloc() failure. The original fix got lost in a merge along the way. This fix from Christos Zoulas via NetBSD tokenizer.c rev. 1.23 2016/02/15. OK czarkoff@
b2589f0b 2016-03-20 20:35:38 Delete the useless Int datatype and always use the standard wint_t directly. This is not a problem because <wchar_t> is required all over the place anyway, even when WIDECHAR is not defined. No functional change except that it fixes a few printf(3) format string issues, %c vs. %lc. OK czarkoff@
3a40234d 2016-03-20 20:16:09 Get rid of "#ifdef WIDECHAR" and one goto in read_char(), making the code more readable. Instead, provide an mbrtowc(3) replacement function in chartype.[hc], files that encapsulate such system dependencies anyway. No functional change. OK czarkoff@
bda91670 2016-03-20 19:33:16 Delete the weird IGNORE_EXTCHARS flag, simplifying the code in the generic low-level function read_char(). Until we fully enable UTF-8 support, instead filter out non-ASCII characters in the more logical place in the high-level function el_gets(3). OK czarkoff@.
8f65425a 2016-03-20 19:14:29 Fix the public interface function el_getc(3). On OpenBSD, the effects are to set the return argument to the NUL byte in case of a read failure (for robustness) and to properly set errno when the character is out of range and cannot be stored in a byte. Once we enable UTF-8, this will be needed to avoid returning bogus bytes for valid Unicode characters. On systems where the internal representation of wchar_t doesn't match UCS-4, breakage was potentially even worse. OK czarkoff@.
a2ed94ad 2016-03-20 18:20:10 Fix read_char() for the non-UTF-8 case, in particular for systems supporting other multibyte locales or having an internal representation of wchar_t that doesn't match UCS-4. No functional change on OpenBSD, but it makes the code less confusing. OK czarkoff@.
b96b528f 2016-03-20 17:19:48 Fix the CHARSET_IS_UTF8 case in read_char(). For now, this mainly help programs explicitly using wide-character functions like el_wgetc(3) and el_wgets(3). 1. After reading an invalid byte sequence, do not throw away additional valid bytes; fix by me using mbrtowc(3), obsoleting utf8_islead(). 2. When read(2) returns EOF, return that information to the caller, do not prod on and potentially access garbage data in the buffer; from Linas Vepstas via NetBSD read.c rev. 1.70 2013/05/27. 3. After read__fixio() failure, restore errno to the one set by read(); from Steffen Nurpmeso via NetBSD read.c rev. 1.68 2012/09/10. 4. After read__fixio() success, restore errno to the initial state upon function entry; fix by me. OK czarkoff@. Also committed to NetBSD.
83094010 2016-03-20 00:01:21 Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0]) idioms. Adopt the more concise fcntl(n, F_GETFL) over fcntl(n, F_GETFL, 0) where it is obvious further investigation will not yield and even better way. Obviousness evaluation and ok guenther@
09f612ee 2016-03-01 16:43:39 Fix a segfault and functional error in c_gets(), which is used for extended command input and for vi search mode. It could be triggered by typing one or more characters, then pressing backspace once (functional error: the character was deleted from the screen, but not from the edit buffer) or a few more times than characters had been entered (segfault). OK czarkoff@. Also checked by Christos Zoulas.
624bc356 2016-02-02 00:43:12 Get rid of an ugly #ifdef in the middle of el_init() by hiding the system dependencies away in "sys.h" where they belong. No binary change on OpenBSD. Seems reasonable to christos at NetBSD, too.
1b826542 2016-01-31 20:42:33 remove some whitespace differences with NetBSD; no change with diff -b
c8f9980c 2016-01-31 15:34:53 trivial partial sync to NetBSD, no functional change: * remove unused ifdef'ed header junk * remove pointless cast of NULL * wrap two excessively long lines
7b85e16b 2016-01-30 17:32:52 Fifth step in synching with NetBSD: Delete the silly ptr_t and ioctl_t typedefs and delete some "#ifdef notdef" code from "sys.h". No functional change. This makes hist.h identical to the NetBSD version. It reduces the remaining diff from +1526 -734 to +1430 -592. OK czarkoff@
28d54ee8 2016-01-30 12:22:20 Fourth step in synching with NetBSD: KNF: Remove parentheses from return lines. No object change. This makes emacs.c and prompt.c identical to the NetBSD versions. It reduces the remaining diff from +2053 -1261 to +1526 -734. OK czarkoff@
19151225 2016-01-30 02:52:41 delete "#ifdef notdef" code that is no longer present in NetBSD; no change in the generated source files
fd40972a 2016-01-30 00:06:39 Third step in synching with NetBSD: * rename fkey_t to funckey_t and el_term_t to el_terminal_t * rename struct editline member el_term to el_terminal * rename many functions in terminal.c from term_*() to terminal_*(), for consistency with the file name and to not look related to <term.h> No functional change. This makes refresh.c and sig.c almost identical to the NetBSD versions. It reduces the remaining diff from +2446 -1805 to +2053 -1420. OK czarkoff@
36facb13 2016-01-29 19:32:33 Second step in synching with NetBSD: * Rename some types from *key*_t to *keymacro*_t. * Rename struct editline member el_key to el_keymacro. * Rename some functions in keymacro.c from key*() to keymacro*(). This removes the conflict of key_clear(), key_end(), and key_print() with macros in <term.h>. No functional change. This makes keymacro.h identical to the NetBSD version. It reduces the remaining diff from +2640 -1998 to +2446 -1805. OK czarkoff@
4664509c 2016-01-29 17:23:21 Start synching with NetBSD: Rename the files key.[hc] to keymacro.[hc] and term.[hc] to terminal.[hc]. The change makes sense because "term.h" conflicts with <term.h> and the functions key_clear(), key_end(), and key_print() in "key.h" conflict with macros in <term.h>. No content change yet, no binary change in *.o after "strip -d". This reduces the remaining diff from +4634 -3992 to +2640 -1998. OK czarkoff@, and mmcc@ agrees with the direction.
ee467665 2016-01-08 20:26:54 Zap extraneous SYNOPSIS sections. The gettytab(5) and termcap(5) get FILES, others don't need anything. With input from & okay schwarze@
31b5c4b0 2015-09-14 13:45:25 in the SYNOPSIS, make void function arguments explicit
d9e149c0 2015-09-10 13:44:19 missing commas at the end of .Nm lines in the NAME section
fd7ad13f 2015-04-04 18:05:04 gcc 2.x is dead ok millert@
0870f47d 2015-03-13 19:58:40 remove the first comma from constructs like ", and," and ", or,": you can use "and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
4239b822 2015-02-06 23:21:58 SIZE_MAX is standard, we should be using it in preference to the obsolete SIZE_T_MAX. OK miod@ beck@
aea60bee 2015-01-16 16:48:51 Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther
e6f9da11 2015-01-13 08:33:12 libedit claims compatibility with readline 4.2, so provide a stub for rl_set_keyboard_input_timeout() that was added in this version. Also crank the minor version. OK krw@ yasuoka@ deraadt@
088fff53 2014-12-15 22:35:41 merge improvements from NetBSD; ok jmc@ nicm@
29b9d799 2014-12-12 17:04:22 markup fixes from Kaspars at Bankovskis dot net; some of this is already contained upstream in NetBSD, the rest will be sent there
014b1be8 2014-10-17 06:07:50 Remove non-exposed malloc/realloc/free wrappers, and then substitute reallocarray() where it helps. ok doug
4d46e16d 2014-10-15 10:55:11 use reallocarray()
e1cb83d7 2014-10-11 04:24:06 Userland reallocarray() audit. Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
240788dd 2014-10-11 03:10:06 Userland reallocarray() audit. Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@