Age | Commit message (Collapse) | Author |
|
delimiter for an outer escape sequence, in which case the delimiting
escape sequence retains its syntax but usually ignores its argument
and loses its inherent effect. Add rudimentary support for this
syntax quirk in order to improve parsing compatibility with groff.
|
|
|
|
|
|
download the installation files to. This is helpful if the default
base-directory /home isn't available for writing, i.e. when using auto
mounted home directories.
Discussed with and input received from
florian@, jmc@, sthen@, schwarze@, and ajacoutot@.
OK florian@, jmc@, sthen@
|
|
|
|
StarFive JH7100 SoC.
ok jsg@
|
|
|
|
by either passing it further or releasing it.
OK mvs@
|
|
same panic can be triggered when address table is part
of anchor loaded by 'load anchor ... from ..,' statement.
pf_find_or_create_ruleset() function called by pfr_add_tables()
must receive ruleset name which comes from pre-allocated root
table.
OK claudio@ dlg@
|
|
|
|
%zu for master_key_length, session_id_length and sid_ctx_length, which
are now size_t.
|
|
upper bounds are known to be size_t.
ok jsing
|
|
ok jsing
|
|
ok jsing
|
|
length and using memcpy(). This also provides a missing overflow check
(which is done by the only caller, however).
ok jsing
|
|
Now that session_id_length is a size_t, we can pass it directly to
CBS_write_bytes() instead of using a temporary variable.
ok jsing
|
|
ok jsing
|
|
EVP_Digest() can fail, so handle failure appropriately and prepare
switch of session_id_length to a size_t.
ok jsing
|
|
respectively
ok jsing
|
|
redundant parentheses.
ok jsing
|
|
is deliberately reduced to an unsigned int. Since the session_id is at
most 32 bytes, this is not a concern.
ok jsing
|
|
|
|
ok jsing (who informs me he had the same diff in his jungle)
|
|
ok jsing
|
|
Now that master_key_length is a size_t, we no longer have to fiddle with
data_len. We can rather pass a pointer to it to CBS_write_bytes().
ok jsing
|
|
ok jsing
|
|
ok jsing
|
|
Failure of this undocumented callback was previously silently ignored.
Follow OpenSSL's behavior and throw an internal error (for lack of a
better choice) if the callback failed or if it set the master_key_length
to a negative number.
Unindent the success path and clean up some strange idioms.
ok jsing
|
|
By moving the rtlabel_unref into kroute_remove the unref is more reliable.
There are still places where handling is not quite right but it is a step
in the right direction.
OK tb@
|
|
|
|
Also cleanup some redundant if statements.
OK tb@
|
|
|
|
|
|
nothing uses these functions anymore.
ok mpi@
|
|
by uvm_pglistalloc(9) does a similar check already.
ok mpi@
|
|
3204 from Anindya Mukherjee.
|
|
into the more specific messages "invalid escape argument delimiter"
and "invalid escape sequence argument".
|
|
the error was already reported earlier when roff_expand()
called roff_escape().
|
|
If a certificate along the chain does not have an AS numbers extension,
this is a failure condition according to RFC 3779, section 3.3.
ok job
|
|
|
|
is needed to build some important ports. ok tb@
|
|
operators as argument delimiters for some escape sequences that take
numerical arguments, in the same way as it had already been done for \h.
Argument delimiter parsing for escape sequences taking numerical arguments
is not perfect yet. In particular, when a character representing a
scaling unit is abused as the argument delimiter, parsing for that
character becomes context-dependent, and it is no longer possible to
find the end of the escape sequence without calling the full numerical
expression parser, which i refrain from attempting in this commit.
For now, continuing to misparse insane constructions like \Bc1c+1cc
(which is valid in groff and resolves to "1" because 1c+1c = two
centimeters is a valid numerical expression and 'c' is also a valid
delimiter) is a small price to pay for keeping complexity at bay
and for not losing focus in the ongoing series of refinements.
|
|
SSLv2 remnants.
ok jsing
|
|
ok jsing
|
|
Wrap long lines and fix a bug where the wrong struct member was checked
for NULL.
ok jsing
|
|
|
|
JH7100 SoC.
ok jsg@
|
|
for the lock operation and to pass a value to the unlock operation.
sofree() still needs an extra flag to know if sounlock() should be called
or not. But sofree() is called less often and mostly without keeping the lock.
OK mpi@ mvs@
|
|
Fix a whitespace issue.
|
|
Apparently 60 * 5 + 4 seconds is 5 minutes. Presumably this is the case
with sufficiently potent crack, which would explain a few things in here.
|