Subversion Repositories pike

Compare Revisions

Ignore whitespace Rev 192 → Rev 193

/trunk/debian/changelog
1,8 → 1,11
pike7.8 (7.8.866-2) unstable; urgency=low
 
* Upload to unstable.
* Correct watch URL.
* Correct Vcs-Svn URI again; should use anonscm.debian.org.
* bad_size_t_redef.patch: Fix undefined behaviour/buffer overruns in
module _Image_JPEG on 64-bit architectures due to broken redefinition
of size_t (Closes: #750430).
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 02 Aug 2014 18:09:33 +0200
 
/trunk/debian/patches/bad_size_t_redef.patch
0,0 → 1,26
Bug-Debian: https://bugs.debian.org/750430
Description: Fix undefined behaviour/buffer overruns on 64-bit architectures caused by broken redefinition of size_t.
Basically the same change as was made to image_jpeg.c in 2008.
Origin: upstream, http://pike-librarian.lysator.liu.se/piff.xml?module=pike.git&file=src/modules/_Image_JPEG/image_jpeg.c&from=adc0e9374373e1ba10c5984038267f600322099c&to=4e36f92cfa282f0b673b0087e50708a5f41c3e24
 
--- a/src/modules/_Image_JPEG/transupp.c
+++ b/src/modules/_Image_JPEG/transupp.c
@@ -36,17 +36,7 @@
* of internals, and added inclusion of jerror.h
*/
-#define FILE void
-#define size_t unsigned int
-/* NOTE: INT32 and INT16 are redefined by <jmorecfg.h>. */
-#if 0
-#ifdef INT16
-#undef INT16
-#endif /* INT16 */
-#ifdef INT32
-#undef INT32
-#endif
-#endif /* 0 */
+#include <stdio.h>
#define XMD_H /* Avoid INT16 / INT32 being redefined */
/trunk/debian/patches/series
11,3 → 11,4
hurd.patch
pcre_info_obsolete.patch
undefined_htons.patch
bad_size_t_redef.patch
/trunk/.
Property changes:
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /branches/7.8-stable:r191-192