You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2012/02/18 16:42:10 UTC

DO NOT REPLY [Bug 52705] New: testmemcache crashes due to uninitialized variable [PATCH]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52705

             Bug #: 52705
           Summary: testmemcache crashes due to uninitialized variable
                    [PATCH]
           Product: APR
           Version: 1.4.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
        AssignedTo: bugs@apr.apache.org
        ReportedBy: peter@poeml.de
    Classification: Unclassified


Created attachment 28352
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28352
patch for 1.4.1 fixing uninitialized variable in testmemcache.c

Hi,

testmemcache.c can crash because a variable is not initialized, used for
storage of the values in the multiget testcase.

The bug seems to be present in 1.4.1 (where I found it), but also in trunk. 

The bug surfaces when the uninitialized variable is used in
memcache/apr_memcache.c apr_memcache_add_multget_key(). If the value is not
NULL, the corresponding hash will not be initialized there.

The attached patch fixes this problem. I suppose it could apply to trunk as
well.

Thanks!
Peter

-- 
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


[Bug 52705] testmemcache crashes due to uninitialized variable [PATCH]

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52705

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> ---
committed to 1.5.x in r1382129
AFAICS this only affected 1.4/1.5, not trunk.

-- 
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