small buffer overflow in frontends/yasm/yasm.c:replace_extension()

Peter Johnson peter at tortall.net
Fri Jun 22 17:21:18 PDT 2007


On Fri, 22 Jun 2007, Mike Frysinger wrote:
> the replace_extension() in frontends/yasm/yasm.c likes to cause small buffer
> overflows when doing strcpy(out, def);
>
> seems the calculation for out needs some tweaking :)

Indeed it did.  Fixed in r1884.

Thanks!

Peter


More information about the yasm-devel mailing list