Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 37879 invoked from network); 21 Feb 2007 22:42:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2007 22:42:42 -0000 Received: (qmail 41670 invoked by uid 500); 21 Feb 2007 22:42:50 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 41638 invoked by uid 500); 21 Feb 2007 22:42:50 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 41624 invoked by uid 99); 21 Feb 2007 22:42:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 14:42:50 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 14:42:41 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id E87AC7141E1; Wed, 21 Feb 2007 14:42:20 -0800 (PST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 41672] New: - Segfault in apr_hashfunc_default in tables/apr_hash.c Message-ID: X-Bugzilla-Reason: AssignedTo Date: Wed, 21 Feb 2007 14:42:20 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41672 Summary: Segfault in apr_hashfunc_default in tables/apr_hash.c Product: Apache httpd-2 Version: 2.2.2 Platform: PC OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: Core AssignedTo: bugs@httpd.apache.org ReportedBy: julien.perez@epsylonia.net (gdb) b apr_hashfunc_default Breakpoint 1 at 0xb7f640f8: file tables/apr_hash.c, line 227. (gdb) c Continuing. [Switching to Thread -1210222912 (LWP 13243)] Breakpoint 1, apr_hashfunc_default (char_key=0x0, klen=0xbfff7148) at tables/apr_hash.c:227 227 if (*klen == APR_HASH_KEY_STRING) { (gdb) s 228 for (p = key; *p; p++) { (gdb) s Program received signal SIGSEGV, Segmentation fault. apr_hashfunc_default (char_key=0x0, klen=0xbfff7148) at tables/apr_hash.c:228 228 for (p = key; *p; p++) { problematic code: if (*klen == APR_HASH_KEY_STRING) { for (p = key; *p; p++) { hash = hash * 33 + *p; } *klen = p - key; } else { Happening when key = 0x0 and klen = -1, I still have to study on my side the business logic part of the 'bug'. Hope it will help Thx for keeping Apache a great product -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org