[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclibc-cvs
Subject:    [uClibc 0000882]: _dl_calloc passes a wrong size to _dl_malloc
From:       bugs () busybox ! net (bugs () busybox ! net)
Date:       2006-05-25 1:09:35
Message-ID: c6bafc3d2f681b86b4fc042993685aa9 () busybox ! net
[Download RAW message or body]


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=882 
====================================================================== 
Reported By:                carmelo73
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   882
Category:                   Other
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             05-25-2006 01:09 PDT
Last Modified:              05-25-2006 01:09 PDT
====================================================================== 
Summary:                    _dl_calloc passes a wrong size to _dl_malloc
Description: 
The _dl_calloc implementation provided by ldso/ldso/dl-tls.c passes the
wrong
size to the _dl_malloc function.
Instead of using size (size = __size * __nmemb), it passes __size.
This bug cause segmentation fault into my system.
I've uploaded the simple patch to be applied.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-25-06 01:09  carmelo73      New Issue                                    
05-25-06 01:09  carmelo73      Status                   new => assigned     
05-25-06 01:09  carmelo73      Assigned To               => uClibc          
05-25-06 01:09  carmelo73      File Added: dl-tls.patch                     
======================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic