History log of /lighttpd1.4/src/ck.h (Results 1 – 10 of 10)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69, 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
# 8b38a6eb 04-Jan-2022 Glenn Strauss <[email protected]>

[core] errno_t and rsize_t detection on Illumos

(thx devnexen)


# b9706ac4 03-Jan-2022 Glenn Strauss <[email protected]>

[core] errno_t detection on Illumos

(thx devnexen)


Revision tags: lighttpd-1.4.63, lighttpd-1.4.62, lighttpd-1.4.61
# 2a3cca7c 10-Oct-2021 Glenn Strauss <[email protected]>

[core] earlier macOS need define for errno_t (fixes #3107)

Earlier macOS need _DARWIN_C_SOURCE defined for errno_t from sys/types.h

Alternatively, define __STDC_WANT_LIB_EXT1__ >= 1 before include

[core] earlier macOS need define for errno_t (fixes #3107)

Earlier macOS need _DARWIN_C_SOURCE defined for errno_t from sys/types.h

Alternatively, define __STDC_WANT_LIB_EXT1__ >= 1 before include errno.h

x-ref:
"error: unknown type name 'errno_t' (macOS 10.13.6)"
https://redmine.lighttpd.net/issues/3107

show more ...


# 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
# f9c81768 09-Sep-2021 Glenn Strauss <[email protected]>

[build] define rsize_t on FreeBSD

(unsure why lighttpd CI CMake build has rsize_t defined,
but not autotools or SCons lighttpd CI builds)


# 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]


# 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