tload: Call longjmp() 1 instead of 0.

Do it explicitly instead of the implicit "longjmp() cannot cause 0 to be
returned. If longjmp() is invoked with a second argument of 0, 1 will be
returned instead."
This commit is contained in:
Qualys Security Advisory 1970-01-01 00:00:00 +00:00 committed by Craig Small
parent 7664d9f306
commit afbb0f4886

View File

@ -81,7 +81,7 @@ static void setsize(int i)
memset(screen, ' ', scr_size - 1);
*(screen + scr_size - 2) = '\0';
if (i)
longjmp(jb, 0);
longjmp(jb, 1);
}
static void __attribute__ ((__noreturn__)) usage(FILE * out)