diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-09-22 01:18:47 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-09-22 01:18:47 (GMT) |
commit | 9d9621ef0c2670b9813b36d74a665b04fe105cf0 (patch) | |
tree | d0c6f62851bb830b1de3eef9b91901acc67ddf50 /src/H5MM.c | |
parent | a4e1edbdba674822949dc8695333c0d23018197c (diff) | |
download | hdf5-9d9621ef0c2670b9813b36d74a665b04fe105cf0.zip hdf5-9d9621ef0c2670b9813b36d74a665b04fe105cf0.tar.gz hdf5-9d9621ef0c2670b9813b36d74a665b04fe105cf0.tar.bz2 |
[svn-r9297] Purpose:
Bug fix.
Description:
Code would attempt to Calloc with zero count when a simple expression
that has no x term. That resulted in NULL for some platform (like AIX).
That appeared as a failure treated as out of space.
Solution:
Checked if count is larger than 0 before making the calloc request.
Platforms tested:
Tested in copper (pp) where the failure appeared. Also in eirene
as double check. No h5committest as the change is trivial.
Diffstat (limited to 'src/H5MM.c')
0 files changed, 0 insertions, 0 deletions