Red Hat Bugzilla – Bug 60179
Bad memory allocation
Last modified: 2007-04-18 12:40:30 EDT
Description of Problem:
isdnlog/tools/cdb/i4l_cdb.c contains in i4l_cdb_open() the following code
| _DB d = 0;
| d = calloc(sizeof(_DB), 1);
where _DB is a 'struct _db_t *'. Obviously, this is wrong since only space for
the pointer but not for the struct was calloc'ed; memory-debuggers are
complaining about it also.
The bug was reported upstream but I got no response yet.
Version-Release number of selected component (if applicable):
Created attachment 46240 [details]
Thanks, it's fixed in 3.1-51