Commit 174ea58d 174ea58d66e5597fdad75873c409067c66ac2e44 by Sergey Poznyakoff

(qp_decode): Fixed bug that could overflow the receiving buffer.

1 parent 840f0476
......@@ -427,6 +427,8 @@ qp_decode (const char *iptr, size_t isize, char *optr, size_t osize,
}
}
wscount = 0;
if (*nbytes == osize)
break;
}
if (c == '=')
......