diff -uNr neon26-0.26.2/debian/changelog neon26-0.26.2.new/debian/changelog --- neon26-0.26.2/debian/changelog 2006-12-27 22:43:11.000000000 +0200 +++ neon26-0.26.2.new/debian/changelog 2006-12-27 22:18:19.000000000 +0200 @@ -1,3 +1,12 @@ +neon26 (0.26.2-3mdx1) unstable; urgency=high + + * Support "noopt" in DEB_BUILD_OPTIONS + * src/ne_uri.c uri_lookup(ch) macro: (unsigned) == (unsigned int), thus if + the macro is given a negative argument, the array is referenced beyond + bounds resulting in a SIGSERV. + + -- Modestas Vainius Wed, 27 Dec 2006 21:32:55 +0200 + neon26 (0.26.2-3) unstable; urgency=medium * Fix FTBFS caused by my previous upload, patch didn't apply on 64 bit diff -uNr neon26-0.26.2/debian/rules neon26-0.26.2.new/debian/rules --- neon26-0.26.2/debian/rules 2006-12-27 22:43:11.000000000 +0200 +++ neon26-0.26.2.new/debian/rules 2006-12-27 21:32:45.000000000 +0200 @@ -16,7 +16,11 @@ --enable-threadsafe-ssl=posix \ --with-gssapi \ --with-libxml2 -CFLAGS="-O2 -g" +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS="-O0 -g -Wall" +else + CFLAGS="-O2 -g" +endif ${BUILDDIR}/neon-openssl/config.status: configure cp /usr/share/misc/config.guess \ diff -uNr neon26-0.26.2/src/ne_uri.c neon26-0.26.2.new/src/ne_uri.c --- neon26-0.26.2/src/ne_uri.c 2006-10-05 15:40:46.000000000 +0300 +++ neon26-0.26.2.new/src/ne_uri.c 2006-12-27 22:18:38.000000000 +0200 @@ -110,7 +110,7 @@ /* Fx */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT }; -#define uri_lookup(ch) (uri_chars[(unsigned)ch]) +#define uri_lookup(ch) (uri_chars[(unsigned char)ch]) char *ne_path_parent(const char *uri) {