hdf5/hl/examples
Quincey Koziol 1e36b5a348 [svn-r24726] Description:
Revert some earlier usage of strncpy, which was incorrect.

    Bring Coverity changes from branch back to trunk:

r20821:
    Use HDstrncpy. --gh
    (Fixed already, with strdup)

r20822:
    (Not merged, incorrect use of HDstrncpy())

r20823:
    (Not merged, incorrect use of HDstrncpy())

r20824:
    Maintenance: Bug fix: addressed CID 666.
    Value stored at *expression_len should be used in the call to
        HD5packFstring to avoid overflow (and unnecessary arithmetic
        calculation and casting) 

r20825:
    Issue 642: Added check for error and handler with print to stderr and exit.

r20826:
    Undo revision 20818, as that issue has already been fixed in the 1.8 branch
        and trunk (but not coverity branch)

r20827:
    (Not merged, incorrect use of HDstrncpy())
    
r20828:
    Use HDstrncpy. --gh
    (Corrected use of strncpy())

r20829:
    Check return of H5Lget_val(print_udata->fid, path, targbuf,
        linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0.
        Check if  H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL,
        &filename, &objname) was successful and allow print. Otherwise filename
        and objname are not created. (init those to NULL)

r20830:
    resolved coverity issues 939, 940, 941, 944, and 947.

    all were complaints about use of sprintf, and in all cases, the
    buffers used were large enough for all eventualities.

    Resolved issue by replacing calls to sprintf with calls
    to snprintf.

r20831:
    Maintenance: Addressed CID 852
    Replaced sprintf with snprintf

r20832:
    Purpose: Fix valgrind issues with hl/examples/ex_image2

    Description:
    Modified hl/examples/ex_image2 to free global "gbuf" before exit.

Tested on:
    Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety
    (too minor to require h5committest)
2014-02-20 16:29:26 -05:00
..
CMakeLists.txt [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles. 2013-11-01 16:15:37 -05:00
CMakeTests.cmake [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles. 2013-11-01 16:15:37 -05:00
ex_ds1.c [svn-r14193] Description: 2007-10-08 14:59:36 -05:00
ex_image1.c [svn-r13549] Description: 2007-03-26 22:06:48 -05:00
ex_image2.c [svn-r24726] Description: 2014-02-20 16:29:26 -05:00
ex_lite1.c
ex_lite2.c [svn-r13549] Description: 2007-03-26 22:06:48 -05:00
ex_lite3.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
ex_table_01.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_02.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_03.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_04.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_05.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_06.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_07.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_08.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_09.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_10.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_11.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
ex_table_12.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
image8.txt
image24pixel.txt
Makefile.am [svn-r23118] HDFFV-2686 Remove the ptExampleVL.c example from the source code 2012-12-22 14:33:27 -05:00
Makefile.in [svn-r24194] Don't add hdf5 library dependencies to lib files when --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276. 2013-09-23 20:14:24 -05:00
pal_rgb.h
ptExampleFL.c [svn-r13580] Description: 2007-04-03 14:51:14 -05:00
run-hl-ex.sh [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs. 2010-10-04 12:15:30 -05:00
run-hlc-ex.sh.in [svn-r23118] HDFFV-2686 Remove the ptExampleVL.c example from the source code 2012-12-22 14:33:27 -05:00