mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 20:36:21 +00:00
Add Valgrind to CI
* Also pass `$*` to `configure` when invoking `ci-build.sh`, so one can e.g. run `./ci-build.sh --without-xscreensaver` Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -543,7 +543,7 @@ prof_occurrences_of_large_message_tests(void** state)
|
||||
*/
|
||||
const size_t haystack_sz = 1024;
|
||||
size_t haystack_cur = 0;
|
||||
char* haystack = malloc(haystack_sz);
|
||||
auto_char char* haystack = malloc(haystack_sz);
|
||||
const char needle[] = "needle ";
|
||||
while (haystack_sz - haystack_cur > sizeof(needle)) {
|
||||
memcpy(&haystack[haystack_cur], needle, sizeof(needle));
|
||||
|
||||
Reference in New Issue
Block a user