Hi all,

While testing some tolerances in the LDAP cache when it runs out of
memory, I discovered that apr_shm_calloc() segfaults if you attempt to
allocate a block of memory bigger than the memory block you orginally
defined.

Surely in this case apr_shm_calloc() should return NULL instead?

Program received signal SIGSEGV, Segmentation fault.
0xfcc3574 in memset () at soinit.c:59
59      soinit.c: No such file or directory.
(gdb) bt
#0  0xfcc3574 in memset () at soinit.c:59
#1  0xffa7fa8 in apr_shm_calloc () at shmem.c:214

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to