Ignore:
Timestamp:
Jan 27, 2011, 7:31:20 PM (13 years ago)
Author:
Bruno Cornec
Message:

r4179@localhost: bruno | 2011-01-27 08:06:03 +0100

  • Replace usage of pvs with pvscan for speed reasons in analyze-my-lvm (still some speed optimizations to do in that script)
  • Workaround problems met on RHEL 5.2 and 5.4 around pvs command generating a list of \n separated pvs with back quotes in an unexpected way. Could be linked to a b ash bug in this context ?
  • Adds /etc/rpc and /etc/netconfig as minimal deps for mindi for latest NFS support (mdv 2010.2 at least)


Port 2.2.9 recent changes to 2.2.10
svk merge -r 4174:4178 local/mondorescue/branches/2.2.9 .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/newt-specific.c

    r2508 r2703  
    453453                    if (!strncmp(err_log_lines[i], "root:", 5)) {
    454454                        mr_asprintf(tmp, "%s", err_log_lines[i] + 6);
    455                         strcpy(err_log_lines[i], tmp);
     455                        strncpy(err_log_lines[i], tmp, (size_t)MAX_NEWT_COMMENT_LEN);
    456456                        mr_free(tmp);
    457457                    }
     
    486486
    487487        va_start(args, fmt);
    488         vsprintf(output, fmt, args);
     488        vsnprintf(output, MAX_STR_LEN-1, fmt, args);
    489489        log_msg(0, output);
    490490        output[80] = '\0';
Note: See TracChangeset for help on using the changeset viewer.