Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/external/isc/libsodium/include



Module Name:    src
Committed By:   riastradh
Date:           Fri Jul 26 18:31:45 UTC 2024

Modified Files:
        src/sys/external/isc/libsodium/include: stdlib.h

Log Message:
sys/crypto/sodium: Tighten stdlib.h glue.

1. Make sure nothing uses malloc and free.  All of the routines we
   need should work in fixed-size, caller-allocated buffers and
   reasonable stack space.

2. Make panic message for abort() stub clearer.  There are calls to
   it, but they imply internal errors inside libsodium which should
   not happen unless there is an unrecoverable software bug in
   libsodium.

PR kern/58468


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/isc/libsodium/include/stdlib.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index