[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dpkg:src/unpack.c] Possible unused call to strcpy


I spotted this piece of code in src/unpack.c (around line 614)
   * OK, we're going ahead.

  strcpy(cidirrest, TRIGGERSCIFILE);
  trig_parse_ci(cidir, NULL, trig_cicb_statuschange_activate, pkg,

  /* Read the conffiles, and copy the hashes across. */
  newconffiles = NULL;
  newconffileslastp = &newconffiles;
  push_cleanup(cu_fileslist, ~0, NULL, 0, 0);

It seems to me that "cidirrest" is not read between the two strcpy-calls.


Reply to: