History log of /lighttpd1.4/src/ck.c (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 00745925 28-Feb-2023 Glenn Strauss <[email protected]>

[core] use C23 memset_explicit() were available


Revision tags: lighttpd-1.4.69
# 8f84c7be 14-Jan-2023 Glenn Strauss <[email protected]>

[multiple] quiet some coverity false positives


Revision tags: lighttpd-1.4.68
# 0318ef7b 10-Dec-2022 Glenn Strauss <[email protected]>

[core] ck_calloc() ck_malloc() ck_realloc_u32()

checking functions to wrap calloc(), malloc(), and realloc(),
which ck_assert() that memory allocation succeeds

ck_realloc_u32() additionally checks

[core] ck_calloc() ck_malloc() ck_realloc_u32()

checking functions to wrap calloc(), malloc(), and realloc(),
which ck_assert() that memory allocation succeeds

ck_realloc_u32() additionally checks for integer overflow in args
and that nmemb fits in uint32_t

show more ...


Revision tags: lighttpd-1.4.67, lighttpd-1.4.66, lighttpd-1.4.65, lighttpd-1.4.64, lighttpd-1.4.63, lighttpd-1.4.62
# 93451166 25-Nov-2021 Glenn Strauss <[email protected]>

[core] fix compiler warning in 32-bit build


Revision tags: lighttpd-1.4.61
# 9d05b648 18-Oct-2021 Glenn Strauss <[email protected]>

[core] make ck_memeq_const_time() more generic (#3112)

make ck_memeq_const_time() more generically reusable

remove implementation requirements that strings be '\0' terminated,
or at least have an i

[core] make ck_memeq_const_time() more generic (#3112)

make ck_memeq_const_time() more generically reusable

remove implementation requirements that strings be '\0' terminated,
or at least have an initialized byte following each string (s[len])

x-ref:
https://redmine.lighttpd.net/issues/3112
"mod_auth cache password doesn't match"

show more ...


# 69c2b2b2 16-Oct-2021 Glenn Strauss <[email protected]>

[core] add comment to ck_memeq_const_time()

add comment to ck_memeq_const_time() with some implementation details


# 575665ad 05-Oct-2021 Glenn Strauss <[email protected]>

[multiple] __attribute_nonnull__ now takes params

define __attribute_nonnull__(params) with params to match
recent changes in glibc development (targetting glibc 2.35 in Feb 2022)

x-ref:
new __at

[multiple] __attribute_nonnull__ now takes params

define __attribute_nonnull__(params) with params to match
recent changes in glibc development (targetting glibc 2.35 in Feb 2022)

x-ref:
new __attribute_nonnull__(params) conflicts with third-party
https://sourceware.org/bugzilla/show_bug.cgi?id=28425

show more ...


Revision tags: lighttpd-1.4.60
# 37209081 02-Oct-2021 Glenn Strauss <[email protected]>

[core] portability tweaks for various platforms/cc


# ec88f62b 30-Aug-2021 Glenn Strauss <[email protected]>

[core] change backtrace format to put addr first

(better monospaced alignment of frame num, addr, offset, name)


# 84ff9ac9 30-Aug-2021 Glenn Strauss <[email protected]>

[core] expose ck_bt() for debugging


# 1cd73b08 15-Jun-2021 Glenn Strauss <[email protected]>

[core] move backtrace and assert macros to ck.[ch]


# 07aa7eed 22-May-2021 Glenn Strauss <[email protected]>

[core] comment out ck_getenv_s() (unused)

ck_getenv_s() not currently used in lighttpd;
lighttpd process env is stable


# 62ccda85 22-May-2021 Glenn Strauss <[email protected]>

[multiple] move const time cmp funcs to ck.[ch]

http_auth_const_time_memeq_pad() -> ck_memeq_const_time()
http_auth_const_time_memeq() -> ck_memeq_const_time_fixed_len()


# 86c39754 22-May-2021 Glenn Strauss <[email protected]>

[core] ck.[ch] - C11 Annex K wrappers

(selected functions; not complete)

(import from one of my development branches from 2016)

define safe_memclear() -> ck_memzero() for transition