]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
4 years agoQuiet clang scan
Arran Cudbard-Bell [Mon, 11 Oct 2021 19:46:52 +0000 (14:46 -0500)] 
Quiet clang scan

4 years agoProduce the same return type as the normal assertion macros
Arran Cudbard-Bell [Mon, 11 Oct 2021 19:38:21 +0000 (14:38 -0500)] 
Produce the same return type as the normal assertion macros

4 years agoDon't call iterator if next is NULL
Arran Cudbard-Bell [Mon, 11 Oct 2021 19:37:57 +0000 (14:37 -0500)] 
Don't call iterator if next is NULL

4 years agoCI: update freebsd VM packages
Matthew Newton [Mon, 11 Oct 2021 18:35:27 +0000 (19:35 +0100)] 
CI: update freebsd VM packages

4 years agoAdd pair pool allocator
Arran Cudbard-Bell [Mon, 11 Oct 2021 17:53:17 +0000 (12:53 -0500)] 
Add pair pool allocator

Can save two mallocs for unknown attributes

4 years agoRemove assert in fr_dns_label_to_value_box
Arran Cudbard-Bell [Mon, 11 Oct 2021 17:51:36 +0000 (12:51 -0500)] 
Remove assert in fr_dns_label_to_value_box

4 years agov4: Final set of background changes to LDAP code (#4264)
Nick Porter [Mon, 11 Oct 2021 17:46:52 +0000 (18:46 +0100)] 
v4: Final set of background changes to LDAP code (#4264)

* s/LDAP_OPT_ERROR_NUMBER/LDAP_OPT_RESULT_CODE/

LDAP_OPT_RESULT_CODE is the current name for this option.

* Define custom LDAP results parser

Used where LDAP queries are not part of processing a request, e.g.
querying the rootDSE after a connection comes up to establish which type
of directory server is connected to.

* Define async method to retrieve LDAP directory type

For use with trunk connections

* Queue a query to discover LDAP directory type for trunk connections

* Launch LDAP trunk connections for module default server

* We handle referral chasing so always set libldap option to off

* No need to re-bind since the trunk is only ever bound as admin user

* Move definition of fr_ldap_bind_ctx_t to base.h

* Define fr_ldap_bind_auth_ctx_t for holding details of bind auth requests

* Define fr_ldap_bind_auth_cmp for comparing two bind requests

* Define callbacks for handling LDAP bind responses

* Define watcher to add handlers to LDAP connection being used for bind auths

* Initialise a thread specific LDAP connection for bind auths

* Old referral rebind callback no longer needed

* Define callbacks to support use of async LDAP binds in place of sync ones

A temporary set of wrapper functions before fully rewriting rlm_ldap to
be fully async

* Define fr_ldap_bind_auth_async()

4 years agos/VP_VERIFY/PAIR_VERIFY/ s/LIST_VERIFY/PAIR_LIST_VERIFY/
Arran Cudbard-Bell [Mon, 11 Oct 2021 17:08:48 +0000 (12:08 -0500)] 
s/VP_VERIFY/PAIR_VERIFY/ s/LIST_VERIFY/PAIR_LIST_VERIFY/

4 years agomove timestr_match() to better API
Alan T. DeKok [Mon, 11 Oct 2021 16:41:23 +0000 (12:41 -0400)] 
move timestr_match() to better API

4 years agocheck for more corner cases
Alan T. DeKok [Mon, 11 Oct 2021 15:19:23 +0000 (11:19 -0400)] 
check for more corner cases

4 years agoPopulat attr_chap_challenge
Arran Cudbard-Bell [Mon, 11 Oct 2021 17:01:51 +0000 (12:01 -0500)] 
Populat attr_chap_challenge

4 years agoTypo
Arran Cudbard-Bell [Mon, 11 Oct 2021 16:43:40 +0000 (11:43 -0500)] 
Typo

4 years agoFix various issues...
Arran Cudbard-Bell [Mon, 11 Oct 2021 16:38:16 +0000 (11:38 -0500)] 
Fix various issues...

4 years agoAdd const...
Arran Cudbard-Bell [Mon, 11 Oct 2021 16:36:57 +0000 (11:36 -0500)] 
Add const...

4 years agoFrom should be const everywhere
Arran Cudbard-Bell [Mon, 11 Oct 2021 16:32:26 +0000 (11:32 -0500)] 
From should be const everywhere

4 years agoDeal with WITH_VERIFY_PTR later in pair.h
Arran Cudbard-Bell [Mon, 11 Oct 2021 16:29:17 +0000 (11:29 -0500)] 
Deal with WITH_VERIFY_PTR later in pair.h

4 years agoTry and quiet GCC
Arran Cudbard-Bell [Mon, 11 Oct 2021 16:06:15 +0000 (11:06 -0500)] 
Try and quiet GCC

4 years agoCI: install nr-extras on all debian builds
Matthew Newton [Mon, 11 Oct 2021 14:49:37 +0000 (15:49 +0100)] 
CI: install nr-extras on all debian builds

kqueue in sid is now too old

4 years agoQuiet pedantic compiler
Arran Cudbard-Bell [Mon, 11 Oct 2021 14:41:30 +0000 (09:41 -0500)] 
Quiet pedantic compiler

4 years agoRemove manual NULL checks
Arran Cudbard-Bell [Mon, 11 Oct 2021 03:45:31 +0000 (22:45 -0500)] 
Remove manual NULL checks

4 years agoDecorate functions in pair.c with nonnull
Arran Cudbard-Bell [Mon, 11 Oct 2021 01:14:02 +0000 (20:14 -0500)] 
Decorate functions in pair.c with nonnull

4 years agoLoad attr_state correctly in proto_radius
Arran Cudbard-Bell [Sun, 10 Oct 2021 19:03:51 +0000 (14:03 -0500)] 
Load attr_state correctly in proto_radius

4 years agoMark up functions in util/pair.c with nonnull and add count param to fr_pair_sublist_copy
Arran Cudbard-Bell [Sun, 10 Oct 2021 17:10:10 +0000 (12:10 -0500)] 
Mark up functions in util/pair.c with nonnull and add count param to fr_pair_sublist_copy

4 years agoAdd tain to fr_pair_value_strdup
Arran Cudbard-Bell [Sun, 10 Oct 2021 16:59:35 +0000 (11:59 -0500)] 
Add tain to fr_pair_value_strdup

4 years agoMinor tweaks to eap config
Arran Cudbard-Bell [Sat, 9 Oct 2021 17:50:06 +0000 (12:50 -0500)] 
Minor tweaks to eap config

4 years agodecode TLVs as nested, and update tests to match
Alan T. DeKok [Sun, 10 Oct 2021 12:19:51 +0000 (08:19 -0400)] 
decode TLVs as nested, and update tests to match

4 years agolet's encode TLVs, too
Alan T. DeKok [Sun, 10 Oct 2021 11:55:46 +0000 (07:55 -0400)] 
let's encode TLVs, too

4 years agomore / better errors
Alan T. DeKok [Sun, 10 Oct 2021 11:54:40 +0000 (07:54 -0400)] 
more / better errors

4 years agoFix unit_test_attribute to print out the entire path/file when failed (#4259)
Jorge Pereira [Sun, 10 Oct 2021 11:18:51 +0000 (08:18 -0300)] 
Fix unit_test_attribute to print out the entire path/file when failed (#4259)

4 years agodecode TLVs in OPT 41, too
Alan T. DeKok [Sat, 9 Oct 2021 17:33:17 +0000 (13:33 -0400)] 
decode TLVs in OPT 41, too

the struct encoder does not yet accept the VPs returned by the decoder.
it's not clear if the decoder is wrong, or if the struct encoder
has issues.  More debugging later.

4 years agoadd more options
Alan T. DeKok [Sat, 9 Oct 2021 17:33:04 +0000 (13:33 -0400)] 
add more options

4 years agoreturn only as much as we decoded
Alan T. DeKok [Sat, 9 Oct 2021 17:32:38 +0000 (13:32 -0400)] 
return only as much as we decoded

which lets TLVs work after structures

4 years agoUse the correct field in dcursor tests
Arran Cudbard-Bell [Sat, 9 Oct 2021 16:58:36 +0000 (11:58 -0500)] 
Use the correct field in dcursor tests

4 years agoRecord const state of input list
Arran Cudbard-Bell [Sat, 9 Oct 2021 17:00:06 +0000 (12:00 -0500)] 
Record const state of input list

4 years agoMove "type" into the legacy stuff area
Arran Cudbard-Bell [Fri, 8 Oct 2021 22:22:04 +0000 (17:22 -0500)] 
Move "type" into the legacy stuff area

4 years agoWhitespace
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:21:27 +0000 (16:21 -0500)] 
Whitespace

4 years agoNope that was correct
Arran Cudbard-Bell [Fri, 8 Oct 2021 22:02:27 +0000 (17:02 -0500)] 
Nope that was correct

4 years agoTest was fine
Arran Cudbard-Bell [Fri, 8 Oct 2021 22:01:17 +0000 (17:01 -0500)] 
Test was fine

4 years agoWe should only call virtual server for depth 0
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:59:48 +0000 (16:59 -0500)] 
We should only call virtual server for depth 0

4 years agoSync up code with docs
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:57:50 +0000 (16:57 -0500)] 
Sync up code with docs

4 years agoExtra quoting
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:41:17 +0000 (16:41 -0500)] 
Extra quoting

4 years agoWe really only want to verify the client by default
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:40:14 +0000 (16:40 -0500)] 
We really only want to verify the client by default

4 years agoFix spurious error
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:38:37 +0000 (16:38 -0500)] 
Fix spurious error

4 years agoAdd fr_pair_reinit_from_da
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:23:23 +0000 (16:23 -0500)] 
Add fr_pair_reinit_from_da

This automatically converts existing values, and performs all the necessary checks and modifications to keep the fr_pair_list_t correct.

4 years agoAccess the order dlist from fr_pair_list_t explicitly
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:06:55 +0000 (16:06 -0500)] 
Access the order dlist from fr_pair_list_t explicitly

Originally fr_pair_list_t was the same as fr_dlist_head_t, but no longer.

4 years agoBuild private version of pair header
Arran Cudbard-Bell [Fri, 8 Oct 2021 21:18:35 +0000 (16:18 -0500)] 
Build private version of pair header

4 years agoDisable auto_chain entirely
Arran Cudbard-Bell [Fri, 8 Oct 2021 19:42:43 +0000 (14:42 -0500)] 
Disable auto_chain entirely

It just causes confusion and annoyance

4 years agoAlways use a separate vertificate store, and print out the certs in it when we fail...
Arran Cudbard-Bell [Fri, 8 Oct 2021 19:31:35 +0000 (14:31 -0500)] 
Always use a separate vertificate store, and print out the certs in it when we fail to validate a client cert

4 years agov4: Move LDAP xlat to use trunks and to the new API (#4262)
Nick Porter [Fri, 8 Oct 2021 17:09:07 +0000 (18:09 +0100)] 
v4: Move LDAP xlat to use trunks and to the new API (#4262)

* When escaping vbs in a URI, remove them from the list and re-insert afterwards

Escaping functions may re-initialise the vb which destroys the list
pointers.  Removing and re-inserting is much safer.

* Update rlm_rest's uri_part_escape to match new behaviour or fr_uri_escape()

* Define ldap_xlat_thread_inst_t to hold thread specific xlat data

* Define mod_xlat_thread_instantiate for LDAP xlats

* Define uri_part_escape for LDAP URIs

* Define xlat resume function for ldap xlat

* Define ldap_xlat_signal for signalling async ldap xlat

* Define ldap_query_timeout() callback for query timeouts

* Define parts of LDAP uri

* Convert %{ldap: } to new xlat api

* Add trunk_conf to ldap_inst_s

* Give thread instance access to trunk config

4 years agoProtect buffers from direct manpiulation
Arran Cudbard-Bell [Fri, 8 Oct 2021 16:21:36 +0000 (11:21 -0500)] 
Protect buffers from direct manpiulation

4 years agoFix direct manipulation of boxes in unit_test_module.c
Arran Cudbard-Bell [Fri, 8 Oct 2021 16:21:24 +0000 (11:21 -0500)] 
Fix direct manipulation of boxes in unit_test_module.c

4 years agoFix direct manipulation of boxes in xlat_builtin.c
Arran Cudbard-Bell [Fri, 8 Oct 2021 16:21:07 +0000 (11:21 -0500)] 
Fix direct manipulation of boxes in xlat_builtin.c

4 years agoFix direct manipulation of boxes in radclient.c
Arran Cudbard-Bell [Fri, 8 Oct 2021 16:15:31 +0000 (11:15 -0500)] 
Fix direct manipulation of boxes in radclient.c

4 years agoFix direct manipulation of boxes in compose.c
Arran Cudbard-Bell [Fri, 8 Oct 2021 16:14:59 +0000 (11:14 -0500)] 
Fix direct manipulation of boxes in compose.c

4 years agoFix direct manipulation of boxes in tmpl_eval.c
Arran Cudbard-Bell [Fri, 8 Oct 2021 16:13:15 +0000 (11:13 -0500)] 
Fix direct manipulation of boxes in tmpl_eval.c

4 years agoignore blocks which are too big
Alan T. DeKok [Fri, 8 Oct 2021 14:12:03 +0000 (10:12 -0400)] 
ignore blocks which are too big

i.e. greater than what we can represent in a compressed pointer

4 years agomore "shut up compiler"
Alan T. DeKok [Fri, 8 Oct 2021 13:01:48 +0000 (09:01 -0400)] 
more "shut up compiler"

4 years agoFix tests
Arran Cudbard-Bell [Fri, 8 Oct 2021 13:51:07 +0000 (08:51 -0500)] 
Fix tests

4 years agoClear the bio after creating a pair value from it
Arran Cudbard-Bell [Fri, 8 Oct 2021 13:30:19 +0000 (08:30 -0500)] 
Clear the bio after creating a pair value from it

4 years agoDo a better job of syncing up when we need to call the verification server
Arran Cudbard-Bell [Fri, 8 Oct 2021 12:44:01 +0000 (07:44 -0500)] 
Do a better job of syncing up when we need to call the verification server

Previously if chain validation failed we _wouldn't_ generate attributes, but we _would_ call the virtual server.

4 years agoinitialize 'next' to shut up compiler
Alan T. DeKok [Fri, 8 Oct 2021 12:24:40 +0000 (08:24 -0400)] 
initialize 'next' to shut up compiler

4 years agoreturn errors from the start of the packet
Alan T. DeKok [Fri, 8 Oct 2021 00:33:15 +0000 (20:33 -0400)] 
return errors from the start of the packet

4 years agolengths must be 63 or smaller
Alan T. DeKok [Fri, 8 Oct 2021 00:32:48 +0000 (20:32 -0400)] 
lengths must be 63 or smaller

4 years agoprint out positive numbers
Alan T. DeKok [Fri, 8 Oct 2021 00:28:55 +0000 (20:28 -0400)] 
print out positive numbers

4 years agoDecoder functions should write directly to fr_pair_list_t and not to a cursor
Arran Cudbard-Bell [Thu, 7 Oct 2021 23:43:23 +0000 (18:43 -0500)] 
Decoder functions should write directly to fr_pair_list_t and not to a cursor

The cursors are mostly legacy since we moved to dlists, and for efficient lookups we cannot modify pair lists using dcursors as we need to keep the attr tree in sync.

4 years agomore / fixed error tests
Alan T. DeKok [Thu, 7 Oct 2021 22:00:44 +0000 (18:00 -0400)] 
more / fixed error tests

4 years agodo additional validation in dns_label_decode()
Alan T. DeKok [Thu, 7 Oct 2021 22:00:15 +0000 (18:00 -0400)] 
do additional validation in dns_label_decode()

4 years agodon't decode raw dns_labels if they fail
Alan T. DeKok [Thu, 7 Oct 2021 21:57:02 +0000 (17:57 -0400)] 
don't decode raw dns_labels if they fail

instead let the parent create a raw struct / whatever

4 years agodon't abort when decode_value() fails.
Alan T. DeKok [Thu, 7 Oct 2021 21:56:29 +0000 (17:56 -0400)] 
don't abort when decode_value() fails.

Instead, just treat the entire struct as being raw

4 years agoGCC doesn't have `used-but-makred-unused`
Arran Cudbard-Bell [Thu, 7 Oct 2021 19:49:40 +0000 (14:49 -0500)] 
GCC doesn't have `used-but-makred-unused`

4 years agoTypo
Arran Cudbard-Bell [Thu, 7 Oct 2021 18:59:15 +0000 (13:59 -0500)] 
Typo

4 years agoRe-arrange certificate verification code so we check the chain certs too.
Arran Cudbard-Bell [Thu, 7 Oct 2021 18:38:02 +0000 (13:38 -0500)] 
Re-arrange certificate verification code so we check the chain certs too.

4 years agoremove the 'instantiate' section, as it's no longer necessary
Alan T. DeKok [Thu, 7 Oct 2021 18:16:04 +0000 (14:16 -0400)] 
remove the 'instantiate' section, as it's no longer necessary

module bootstrap order was fixed in 3.0.9 (2015).

Loading of virtual modules can just be done by listing them in
the mods-enabled/ directory.  There's no need for a magic
"instantiate" section

4 years agoCheck for multiple self signed certs in certificate chains
Arran Cudbard-Bell [Thu, 7 Oct 2021 17:06:24 +0000 (12:06 -0500)] 
Check for multiple self signed certs in certificate chains

4 years agov4: More changes to support moving LDAP to use trunks (#4257)
Nick Porter [Thu, 7 Oct 2021 16:26:15 +0000 (17:26 +0100)] 
v4: More changes to support moving LDAP to use trunks (#4257)

* Free LDAP query if it is cancelled

* Correct lookup values for supported LDAP extensions

* Remove unused clients.c

* Initialise tree of outstanding LDAP queries

* Define sync_ldap_query_t

A structure to support synchronous use of async ldap queries

* Define callbacks to support use of async LDAP queries in place of sync ones

A temporary set of wrapper functions before fully rewriting rlm_ldap to
be fully async

* Define SET_LDAP_CTRLS macro to copy LDAP server / client controls

* Define fr_ldap_trunk_search()

Temporary wrapper function to perform an async ldap search on a trunk
connection

* Define fr_ldap_trunk_modify()

Temporary wrapper function to perform an async ldap modification on a
trunk connection

4 years agomore error cases
Alan T. DeKok [Thu, 7 Oct 2021 16:07:19 +0000 (12:07 -0400)] 
more error cases

4 years agoset maximum limit
Alan T. DeKok [Thu, 7 Oct 2021 16:06:21 +0000 (12:06 -0400)] 
set maximum limit

4 years agoAdd Cambium dictionary (#4252)
Terry Burton [Thu, 7 Oct 2021 14:57:01 +0000 (15:57 +0100)] 
Add Cambium dictionary (#4252)

Compiled from various sources and tidied up. Untested, but at least the
IANA enterprise number is valid...

4 years agoNeed to update the configure.ac file as well (#4254)
Nick Porter [Thu, 7 Oct 2021 14:56:34 +0000 (15:56 +0100)] 
Need to update the configure.ac file as well (#4254)

4 years agoAdd mellanox dict and resort vendor dict includes Closes #4225
Arran Cudbard-Bell [Thu, 7 Oct 2021 12:24:21 +0000 (07:24 -0500)] 
Add mellanox dict and resort vendor dict includes Closes #4225

4 years agov4: Ground work for moving LDAP connections to per thread trunks (#4248)
Nick Porter [Thu, 7 Oct 2021 12:09:42 +0000 (13:09 +0100)] 
v4: Ground work for moving LDAP connections to per thread trunks (#4248)

* Define fr_ldap_thread_t to hold thead specific data

* Define fr_ldap_thread_trunk_t to hold LDAP connection details

* Add fr_ldap_trunk_cmp() to compare two thread LDAP trunks

* Define mod_thread_instantiate and mod_thread_detach for rlm_ldap

* Define types of LDAP requests

* Define LDAP query result codes

* Define fr_ldap_query_t to store individual LDAP queries

* Add fr_ldap_query_cmp() to compare two fr_ldap_query_t

* Define fr_ldap_referral_t to hold parsed LDAP referrals while they are followed

A given LDAP resonse which contains referral details can consist of
multiple referral URLs all of which should be capable of returning the
same data.

We parse all of the URLs and firstly attempt to query a server that
already has an active trunk connection.

All the possible referral URLs may need to be parsed to find an active
connection.

If none of the referral URLs point to an active connection, then the
parsed data stored in this structure is used to create new connections,
rather than re-parsing.

* Define fr_ldap_referral_alloc and _fr_ldap_referral_free

fr_ldap_referrer_t contains a LDAPURLDesc which needs to be freed using
libldap function ldap_free_urldesc

* Define destructor for fr_ldap_query_t

Frees any remaining libldap allocated structures

* Define allocator for fr_ldap_query_t

* Add LDAP config options of referral_depth and idle_timeout

referral depth - maximum number of referrals to follow
idle_timeout - how log to keep unused LDAP connections open

* Add tree to hold outstanding LDAP queries to fr_ldap_connection_t

* Define callback for closing an idle LDAP trunk

* Add return code for when an LDAP query results in a referral

* Add lookup table to provide readable names of LDAP message types

* Thread connection specific config is not talloc'd

* Define ldap_trunk_connection_alloc() to allocate LDAP connections

* Define I/O callbacks for LDAP trunks

* Setup I/O callbacks requested by LDAP trunk connection

* Define callback for cancelling LDAP queries

* Define _ldap_referral_send - a trunk watcher function...

... for sending referral queries when a trunk becomes active.

This allows for referrals which have multiple potential URLs to follow
to launch a number of trunk connections and the first one to become
active will receive the query.

* Define fr_thread_ldap_trunk_state() to find the state of a LDAP trunk

Looked up by URI and bind DN

* Define fr_ldap_referral_follow() to parse referral URLs and despatch ...

... queries to chase the referrals

* Define fr_ldap_referral_next() to follow subsequent LDAP referrals if the ...

... first one followed returns an error.

* Define ldap_trunk_request_mux() for sending LDAP queries on trunk connections

* Define ldap_trunk_request_demux() to handle LDAP query responses

* Define fr_thread_ldap_trunk_get() to find / create an LDAP trunk...

... for the required host / bind dn

* Define fr_ldap_modify_async() to initiate async LDAP modifications

4 years agov4: Fixes for PostgreSQL 14 in CI (#4250)
Nick Porter [Thu, 7 Oct 2021 12:01:02 +0000 (13:01 +0100)] 
v4: Fixes for PostgreSQL 14 in CI (#4250)

* Handle PGRES_PIPELINE_SYNC and PGRES PIPELINE_ABORTED

* CI is now running PostgreSQL 14

4 years agoWe probably don't need the tmplist here...
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:35:26 +0000 (20:35 -0500)] 
We probably don't need the tmplist here...

4 years agoMove pair child by num, and make it use internal functions instead of iterating over...
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:33:56 +0000 (20:33 -0500)] 
Move pair child by num, and make it use internal functions instead of iterating over the pair list directly

4 years agoUser newer type check function
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:32:06 +0000 (20:32 -0500)] 
User newer type check function

4 years agoShouldn't have been removed
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:31:06 +0000 (20:31 -0500)] 
Shouldn't have been removed

4 years agoRemove spurious new lines
Arran Cudbard-Bell [Thu, 7 Oct 2021 01:23:37 +0000 (20:23 -0500)] 
Remove spurious new lines

4 years agoAdd fr_{lst, heap}_foreach() and tests thereof. (#4237)
James Jones [Thu, 7 Oct 2021 01:39:58 +0000 (20:39 -0500)] 
Add fr_{lst, heap}_foreach() and tests thereof. (#4237)

Note that because we have to declare an fr_{lst, heap}_iter as well
as a variable of type pointer to the element type of the {lst, heap},
we must take the approach of fr_dlist_foreach_safe(). Correct uses
will thus look like they have unbalanced braces.

4 years agoRemove a direct access to the element count in lists
Arran Cudbard-Bell [Wed, 6 Oct 2021 22:33:44 +0000 (17:33 -0500)] 
Remove a direct access to the element count in lists

4 years agos/head/order_head/ s/entry/order in pair code
Arran Cudbard-Bell [Wed, 6 Oct 2021 22:15:16 +0000 (17:15 -0500)] 
s/head/order_head/ s/entry/order in pair code

This is to prepare for pair trees

4 years agopass length of data, not offset of label
Alan T. DeKok [Wed, 6 Oct 2021 21:01:02 +0000 (17:01 -0400)] 
pass length of data, not offset of label

4 years agolet's check availability before dereferencing, m'kay?
Alan T. DeKok [Wed, 6 Oct 2021 20:59:15 +0000 (16:59 -0400)] 
let's check availability before dereferencing, m'kay?

4 years agodoxygen
Alan T. DeKok [Wed, 6 Oct 2021 20:51:13 +0000 (16:51 -0400)] 
doxygen

4 years agocheck for overflow before decoding anything
Alan T. DeKok [Wed, 6 Oct 2021 20:47:21 +0000 (16:47 -0400)] 
check for overflow before decoding anything

4 years agoerror tests from the fuzzer
Alan T. DeKok [Wed, 6 Oct 2021 20:19:20 +0000 (16:19 -0400)] 
error tests from the fuzzer

4 years agotypo
Alan T. DeKok [Wed, 6 Oct 2021 20:19:16 +0000 (16:19 -0400)] 
typo

4 years agoadd fr_strerror() and FR_PROTO_TRACE
Alan T. DeKok [Wed, 6 Oct 2021 20:14:37 +0000 (16:14 -0400)] 
add fr_strerror() and FR_PROTO_TRACE

4 years agoadd fr_strerror()
Alan T. DeKok [Wed, 6 Oct 2021 20:14:21 +0000 (16:14 -0400)] 
add fr_strerror()

4 years agominor cleanups
Alan T. DeKok [Wed, 6 Oct 2021 19:54:05 +0000 (15:54 -0400)] 
minor cleanups

4 years agoadd "const"
Alan T. DeKok [Wed, 6 Oct 2021 17:17:15 +0000 (13:17 -0400)] 
add "const"