Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
trunk
-
None
Description
since re-compile, 'LC_MESSAGES=en_US.UTF-8 svn ls http://foo.bar.baz/svn/qux/trunk' crashes with SIGSEGV. unusual condition, successfully finish if remove 'LC_MESSAGES=en_US.UTF-8'. anyway, trace with gdb, >Breakpoint 4, find_entry (ht=0x80694b0, key=0xb77f9897, klen=15, val=0x80655d0) > at tables/apr_hash.c:274 >274 he->next = NULL; >(gdb) p (const char *)key >$16 = 0xb77f9897 "svn:auth:config" .... >Program received signal SIGSEGV, Segmentation fault. >0xb7d1446a in find_entry (ht=0x80694b0, key=0xb7e8f897, klen=15, val=0x80655d0) > at tables/apr_hash.c:261 > >261 if (he->hash == hash >(gdb) p he->key >$93 = (const void *) 0xb77f9897 >(gdb) p (const char *)he->key >$94 = 0xb77f9897 <Address 0xb77f9897 out of bounds> and, do ugly hack to apr_pstrdup for key (attached), works without SIGSEGV.
Original issue reported by aipot