Projects STRLCPY criu Commits ccc790d5
🤬
  • ■ ■ ■ ■ ■
    test/zdtm/lib/fs.c
    skipped 107 lines
    108 108   "Bit 'x' should be set in all path components of "
    109 109   "this directory\n",
    110 110   cwd, getuid(), getgid(), errno, strerror(errno));
     111 + free(cwd);
    111 112   return -1;
    112 113   }
    113 114   
    skipped 4 lines
  • ■ ■ ■ ■
    test/zdtm/lib/unix.c
    skipped 4 lines
    5 5   
    6 6  int unix_fill_sock_name(struct sockaddr_un *name, char *relFilename)
    7 7  {
    8  - char *cwd;
     8 + cleanup_free char *cwd = NULL;
    9 9   
    10 10   if (get_cwd_check_perm(&cwd)) {
    11 11   pr_err("failed to get current working directory with valid permissions.\n");
    skipped 8 lines
Please wait...
Page is in error, reload to recover