diff options
author | 2002-01-04 12:50:36 +0000 | |
---|---|---|
committer | 2002-01-04 12:50:36 +0000 | |
commit | bba7a0c59741c670405adba94612ec925b8bbeaa (patch) | |
tree | 95efecae27515b00fbf1b677deae45b7957ed857 | |
parent | check (p != NULL), not n. (diff) | |
download | wireguard-openbsd-bba7a0c59741c670405adba94612ec925b8bbeaa.tar.xz wireguard-openbsd-bba7a0c59741c670405adba94612ec925b8bbeaa.zip |
A bug in the malloc test uncoveres a bug in longjmp on alpha.
How ironic.
-rw-r--r-- | regress/lib/libc/malloc/malloc0test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libc/malloc/malloc0test.c b/regress/lib/libc/malloc/malloc0test.c index d226af5a281..99eef671966 100644 --- a/regress/lib/libc/malloc/malloc0test.c +++ b/regress/lib/libc/malloc/malloc0test.c @@ -17,11 +17,11 @@ void catch(int signo) { got++; - longjmp(jmp, 0); + longjmp(jmp, 1); } int -test(caddr_t p, int size) +test(char *p, int size) { signal(SIGSEGV, catch); got = 0; |