Changeset 160


Ignore:
Timestamp:
Jan 17, 2008, 1:43:21 AM (17 years ago)
Author:
katerina
Message:

Some more instances of missing TIGER_NOLIM fixed.

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r158 r160  
    112.4.2:
    2         * change HP-UX default optimization to +O2 since +O3 breaks cutest
     2        * fix broken option --with-checksum (reported by halosfan),
     3          regression test added
     4        * change HP-UX default optimization to +O2 since +O3 breaks
     5          cutest unit testing framework
    36        * put result vector of rng in skey struct
    47        * fix more compiler warnings, and a potential (compiler-dependent)
     
    2023        * fix unsetting of sh_thread_pause_flag (was too early)
    2124
    22 2.4.1a:
     252.4.1a (28-11-2007):
    2326        * fix overwrite of ErrFlags (functionality bug)
    2427
    25 2.4.1:
     282.4.1 (26-11-2007):
    2629        * security fix: regression in the seeding routine for the PRNG
    2730          (detected by C. Mueller)
     
    3033          timestamps, reported by S. Clormann)
    3134
    32 2.4.0a:
     352.4.0a (08-11-2007):
    3336        * fix compile failure with --enable-static (reported by S. Clormann)
    3437        * fix potential deadlock if SIGHUP is received while suspended
    3538
    36 2.4.0:
     392.4.0 (01-11-2007):
    3740        * eliminate alarm() for I/O timeout (replaced by select)
    3841        * use getgrgid_r, getpwnam_r, getpwuid_r, gmtime_r, localtime_r,
  • trunk/src/samhain.c

    r153 r160  
    14881488          (void) sl_strlcpy(sh.data.hash,
    14891489                            sh_tiger_hash (file_path('D', 'R'),
    1490                                            TIGER_FILE, 0,
     1490                                           TIGER_FILE, TIGER_NOLIM,
    14911491                                           hashbuf, sizeof(hashbuf)),
    14921492                            KEY_LEN+1);
  • trunk/src/sh_extern.c

    r133 r160  
    187187      PDBG_S("checksum test");
    188188      if (0 != sl_strcmp(task->checksum,
    189                          sh_tiger_hash (task->command, TIGER_FILE, 0,
     189                         sh_tiger_hash (task->command, TIGER_FILE, TIGER_NOLIM,
    190190                                        hashbuf, sizeof(hashbuf))
    191191                         )
     
    365365                  if (0 != sl_strcmp(task->checksum,
    366366                                     sh_tiger_hash (task->command,
    367                                                     fd, 0, hashbuf, sizeof(hashbuf))))
     367                                                    fd, TIGER_NOLIM, hashbuf, sizeof(hashbuf))))
    368368                    {
    369369                      PDBGC_S("fexecve: checksum mismatch");
  • trunk/src/sh_hash.c

    r153 r160  
    11721172
    11731173      sl_strlcpy (sh.data.hash,
    1174                   sh_tiger_hash (file_path('C', 'R'), /*irrelevant, TIGER_FD*/
    1175                                  fd, 0, hashbuf, sizeof(hashbuf)),
     1174                  sh_tiger_hash (file_path('C', 'R'),
     1175                                 fd, TIGER_NOLIM, hashbuf, sizeof(hashbuf)),
    11761176                  KEY_LEN+1);
    11771177      sl_rewind (fd);
     
    12001200
    12011201        if (0 != sl_strncmp(sh.data.hash,
    1202                             sh_tiger_hash (file_path('D', 'R'), fd, 0,
     1202                            sh_tiger_hash (file_path('D', 'R'), fd, TIGER_NOLIM,
    12031203                                           hashbuf, sizeof(hashbuf)),
    12041204                            KEY_LEN)
  • trunk/src/sh_prelink.c

    r151 r160  
    132132  if (*(task->checksum) == '\0' ||
    133133      0 == sl_strcmp(task->checksum,
    134                      sh_tiger_hash (task->command, ticket, 0, hashbuf, sizeof(hashbuf))))
     134                     sh_tiger_hash (task->command, ticket, TIGER_NOLIM, hashbuf, sizeof(hashbuf))))
    135135    {
    136136      task->com_fd = get_the_fd(ticket);
  • trunk/src/sh_readconf.c

    r133 r160  
    253253   */
    254254  sl_strlcpy(sh.conf.hash,
    255              sh_tiger_hash(file_path('C',local_flag), fd, 0, hashbuf, sizeof(hashbuf)),
     255             sh_tiger_hash(file_path('C',local_flag), fd, TIGER_NOLIM, hashbuf, sizeof(hashbuf)),
    256256             KEY_LEN+1);
    257257  sl_rewind (fd);
  • trunk/src/sh_unix.c

    r154 r160  
    917917
    918918  sl_strlcpy(sh.exec.hash,
    919              sh_tiger_hash (c, TIGER_FILE, 0, hashbuf, sizeof(hashbuf)),
     919             sh_tiger_hash (c, TIGER_FILE, TIGER_NOLIM, hashbuf, sizeof(hashbuf)),
    920920             KEY_LEN+1);
    921921  sl_snprintf(message, 512, _("%s has checksum: %s"),
     
    947947
    948948  sl_strlcpy(newhash,
    949              sh_tiger_hash (sh.exec.path, TIGER_FILE, 0, hashbuf, sizeof(hashbuf)),
     949             sh_tiger_hash (sh.exec.path, TIGER_FILE, TIGER_NOLIM, hashbuf, sizeof(hashbuf)),
    950950             KEY_LEN+1);
    951951  if (0 == sl_strncmp(sh.exec.hash,
  • trunk/test/testrun_2b.sh

    r30 r160  
    6464    tail -n "+$SKIP" ${SCRIPTDIR}/test.sh >/dev/null 2>&1
    6565    if [ $? -eq 0 ]; then
    66         tail -n "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - | tar xf - &&  \
     66        tail -n "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - 2>/dev/null | tar xf - &&  \
    6767            mv "./testrc.gpg.asc" "${RCFILE_C}"
    6868    else
    69         tail "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - | tar xf - &&  \
     69        tail "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - 2>/dev/null | tar xf - &&  \
    7070            mv "./testrc.gpg.asc" "${RCFILE_C}"
    7171    fi
Note: See TracChangeset for help on using the changeset viewer.