apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51064] New: apr_memcache_server_create segfaults if apr_reslist_create fails
Date Thu, 14 Apr 2011 19:51:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51064

           Summary: apr_memcache_server_create segfaults if
                    apr_reslist_create fails
           Product: APR
           Version: HEAD
          Platform: Macintosh
            Status: NEW
          Severity: critical
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: michajlo_matijkiw@comcast.com


Created an attachment (id=26886)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26886)
patch fixing bug

In apr_memcache_server_create, when apr_reslist_create fails (ie when
apr_socket_timeout fails), server->conns is NULL and is passed to
apr_reslist_cleanup_order_set, causing a segfault.

The attached patch fixes this issue.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message