diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-17 16:47:47 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-17 16:47:47 (GMT) |
commit | fa314a767ea91db101f8e36e97d89e7bb589bcf5 (patch) | |
tree | bfb90a313c5e86aa9dc73faccd9973489a7e0675 /src/H5D.c | |
parent | ee56e5272c4151a4a41cae16b46b97e817071548 (diff) | |
download | hdf5-fa314a767ea91db101f8e36e97d89e7bb589bcf5.zip hdf5-fa314a767ea91db101f8e36e97d89e7bb589bcf5.tar.gz hdf5-fa314a767ea91db101f8e36e97d89e7bb589bcf5.tar.bz2 |
[svn-r5191] Purpose:
Bug fix
Description:
When several level deep nested compound & VL datatypes are used, the data
in the nested compound datatypes is incorrectly sharing the same "background
buffer", causing data corruption when the data is written to the file.
Solution:
Allocate a separate background buffer for each level of the nested types
to convert. (Also allocate temporary background buffers for array
datatypes, where this sort of problem could occur also)
Added more regression tests to check for these errors.
Platforms tested:
FreeBSD 4.5 (sleipnir) & Solaris 2.6 (baldric)
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3007,6 +3007,7 @@ printf("%s: check 2.0, src_type_size=%d, dst_type_size=%d, target_size=%d\n",FUN #ifdef QAK printf("%s: check 4.0, nelmts=%d, request_nelmts=%d, need_bkg=%d\n", FUNC,(int)nelmts,(int)request_nelmts,(int)need_bkg); + printf("%s: check 4.1, tconv_buf=%p, bkg_buf=%p\n",FUNC,tconv_buf,bkg_buf); #endif /* Start strip mining... */ |