Closed GoogleCodeExporter closed 8 years ago
Original comment by Michael....@gmail.com
on 19 Oct 2009 at 8:32
Hmm, I am not magician enough to figure out how to make mscgen generate an
image in
this case - probably it will not be possible unless we can use a different part
of
libgd or libgd starts using unsigned integers.
But I believe we can at least make it fail "gracefully" in this case with an
error
message; e.g. by type casting to signed int in gd_out.c, check against 0 and
then
exit with message if that is the case.
~Niels
Original comment by NThykier@gmail.com
on 1 Nov 2009 at 11:04
This issue was closed by revision r106.
Original comment by Michael....@gmail.com
on 3 Jan 2010 at 8:14
I can't reproduce this, so I've added range checks before each call into libgd.
This
should avoid the possibility of mscgen hanging, and will produce clipped output
instead.
Original comment by Michael....@gmail.com
on 3 Jan 2010 at 8:16
Original issue reported on code.google.com by
amitmank...@gmail.com
on 19 Oct 2009 at 1:26Attachments: