summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Expand)Author
2022-03-11Revert previous commit. The problem it was attempting to fix was alreadyDarren Tucker
2022-03-11Check for underflow as well as overflow when scaling negative numbers.Darren Tucker
2022-02-18Avoid gendered language in man pages when not referring to a specificJonathan Gray
2022-01-28Only memcpy() into imsg->data if datalen is not 0. Passing a NULL pointerClaudio Jeker
2021-10-31bump major after struct size changeTheo Buehler
2021-10-31Bump BER_MAX_OID_LEN to 128Theo Buehler
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-10-21Sync ober_oid_cmp with ax_oid_cmp from libagentx.Martijn van Duren
2021-08-29fix an obvious mixup regarding the order of lines in the SYNOPSIS,Ingo Schwarze
2021-08-29Add ober_dup. Needed for upcoming SNMPv3 support for trap receiver inMartijn van Duren
2021-06-20scan_scaled: fix rescaling for negative numbersTheo Buehler
2021-03-31tweak column widths of a .Bl -column tableIngo Schwarze
2021-03-31change the barrier so that fd's are always passed and received withEric Faurot
2021-03-12fix previousJonathan Gray
2021-03-12spellingJonathan Gray
2021-03-05Stop abusing display blocks under the authors section in order toanton
2021-03-03s/byte/characterMartijn van Duren
2021-02-22Make the ober_get_* set of function to accept a NULL-pointer.Martijn van Duren
2021-01-28Add '$' to ober_scanf_elements().Martijn van Duren
2021-01-22Gracefully handle any erroneous closing bracket/brace trailers inrob
2021-01-22Valid integer and enumerated types always have non-zero length. Performrob
2021-01-13Make imsg.h a bit more self-contained by prototyping struct iovec.Claudio Jeker
2020-12-15typo fix from aisha tammy; ok nicmJason McIntyre
2020-10-16double word fixes; from varik valeforJason McIntyre
2020-10-12make fixed-sized fixed-value mib[] arrays be constTheo de Raadt
2020-09-04Create ERRORS section for ober_read_elements.Martijn van Duren
2020-09-03Missed one case of errno not being set in previous.Martijn van Duren
2020-09-03Make sure ober_read_elements sets errno on every case where NULL isMartijn van Duren
2020-08-02Squelch warning by using idiom from libc bcrypt(3)Theo Buehler
2019-12-31Increase BER_MAX_OID_LEN from 32 to 64. Not every snmp OID found in theMartijn van Duren
2019-11-21zero tmpout too. reminded by related diff from timTed Unangst
2019-11-21overwrite the key in failure modes in case the caller doesn't check.Ted Unangst
2019-10-25Adjust whitespace, so Ta macros are aligned vertically as already done inTheo Buehler
2019-10-24The ber_* namespace is used by liblber since time immemorial,Theo Buehler
2019-08-30uucplock(3) is incorrectly named in some places, it is actually uu_lock(3)Theo de Raadt
2019-08-15Revert previous. There were some users of the quirky behaviour that wereMartijn van Duren
2019-08-14Fix argument list for ber_set_writecallbackMartijn van Duren
2019-08-14wonky comma;Jason McIntyre
2019-08-14Document that ber_scanf_elements' 'p' and 't' attribute don't eat theMartijn van Duren
2019-08-14Make ber_scanf_elements's 'e' attribute eat the element.Martijn van Duren
2019-08-14Make sure that ber in ber_scanf_elements is not NULL before parsing formatMartijn van Duren
2019-08-05Don't use a 0 element to determine the end of an OID when comparing twoMartijn van Duren
2019-08-05There's no reason why the first digit of an OID can't be 0.Martijn van Duren
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28Actually, the C standard only guarantees that atexit(3) returns non-zeroIngo Schwarze
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28atexit() returns -1 on failureTheo de Raadt
2019-06-01Limit maximum number of length octets to platform independent sizeof(int32_t).rob
2019-05-21whitespacerob
2019-05-21Cleanup some residual markup from the ber.3 days.rob