1 https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-3522
3 diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_stream.c jasper-1.900.1/src/libjasper/base/jas_stream.c
4 --- jasper-1.900.1.orig/src/libjasper/base/jas_stream.c 2009-10-22 10:27:45.000000000 +0200
5 +++ jasper-1.900.1/src/libjasper/base/jas_stream.c 2009-10-22 10:35:53.000000000 +0200
6 @@ -553,7 +553,7 @@ int jas_stream_printf(jas_stream_t *stre
10 - ret = vsprintf(buf, fmt, ap);
11 + ret = vsnprintf(buf, sizeof buf, fmt, ap);
12 jas_stream_puts(stream, buf);