int aes_encrypt(char* data, int size, char* key, int keysize);
int aes_decrypt(char* data, int size, char* key, int keysize);
// OU avec AES CBC implémenté
int aes_encrypt(char* data, int size, char* key, int keysize, int mode);
int aes_decrypt(char* data, int size, char* key, int keysize, int mode);
extern "C"
in your header file and you should be good-c
to an object filetype HandlerFunc = extern "x86-interrupt" fn(_: InterruptStackFrame);
str_copy
function in most cases to specify the correct buffer size.
Fixes two cases where the buffer size was hard-coded to a number.
Fix buffer size not being checked when copying auto mapper configuration name. Loading an auto mapper configuration with a name longer than 128 bytes could cause an out-of-bounds write.
Increase sizes of some text buffers that were potentially too small.
9a57def
Add templated str_append
function for arrays with fixed size - Robyt3
410ccda
Move templated str_copy
next to basic function - Robyt3
3069733
Add tests for str_append
and for templated str_copy
- Robyt3
3ad581a
Ensure proper buffer size is used with DDNet server filter - Robyt3
0d45120
Merge #6739 - bors[bot]