Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/test_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,9 @@ void test_ft_memcpy_double_null1(void *ptr) {

void test_ft_memcpy_double_null2(void *ptr) {
typeof(memcpy) *ft_memcpy = ptr;
SET_EXPLANATION("your memcpy does not behave well with NULL as both params with size");
SET_EXPLANATION("your memcpy should segv with NULL as both params with size");

SANDBOX_RAISE(
SANDBOX_IRAISE(
ft_memcpy(NULL, NULL, 3);
);
}
Expand Down Expand Up @@ -714,9 +714,9 @@ void test_ft_memmove_double_null1(void *ptr) {

void test_ft_memmove_double_null2(void *ptr) {
typeof(memmove) *ft_memmove = ptr;
SET_EXPLANATION("your memmove does not well with NULL as both parameters and size");
SET_EXPLANATION("your memmove should segv with NULL as both parameters and size");

SANDBOX_RAISE(
SANDBOX_IRAISE(
ft_memmove(NULL, NULL, 5);
);
}
Expand Down