p = malloc(n * 2 + 1);
p = smalloc(n * 2 + 1);
static char *ssh2_mpint_fmt(Bignum b, int *len) {    unsigned char *p;    int i, n = b[0];    p = malloc(n * 2 + 1);    if (!p)        fatalbox("out of memory");    p[0] = 0;    for (i = 0; i < n; i++) {        p[i*2+1] = (b[n-i] >> 8) & 0xFF;        p[i*2+2] = (b[n-i]     ) & 0xFF;    }    i = 0;    while (p[i] == 0 && (p[i+1] & 0x80) == 0)        i++;    memmove(p, p+i, n*2+1-i);    *len = n*2+1-i;    return p;}