Hi Joe,
As maintainer of the Debian packages, I got a bugreport[1] that
uri_lookup(x) macro (src/ne_uri.c:ne_uri_parse():179) can't handle
non-ascii characters. It contains a test case which crashes OO.org .
Proposed fix is attached. Is it acceptable or do you have an other fix?
Regards,
Laszlo/GCS
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404723
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)
{
_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon