1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-24 05:39:17 +03:00

3 Commits

Author SHA1 Message Date
Ingo Franzki
efcc3098ad COMMON: Prevent integer overflow in p11_buffer_append_len()
Check the resulting length to not overflow the maximum size.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
2026-08-19 08:27:05 +02:00
Akash Kulhalli
c4bf8be755 common: More platform-aware changes
The vast majority of these changes have to do with platform-specific headers,
which have all been encapsulated in a single header `platform.h`. This header
encapsulates all the header changes required and also helps keep the resulting
patch cleaner.

Some GNU extensions to pthread behaviours are clearly labeled as such, because
some of them do not have any AIX or POSIX equivalents. Those code blocks have
been wrapped by appropriate platform-specific defines.

Signed-off-by: Akash Kulhalli <akash.kulhalli@ibm.com>
2024-04-24 09:48:07 +02:00
Holger Dengler
d5bc282f2b lib: common: add buffer
Add string buffer implementation. It allows dynamic allocation and
extension of string buffers.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
2022-08-03 08:26:28 +02:00