Skip to content
Permalink
Browse files Browse the repository at this point in the history
[backend] verify file names return by source service (do not allow fi…
…les with new lines #679151)
  • Loading branch information
adrianschroeter committed Mar 14, 2011
1 parent 76b0ab0 commit 23c8d21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_srcserver
Expand Up @@ -203,6 +203,7 @@ sub runservice {
unlink($lockfile);
die("ERROR: bs_service returned a non-_service file\n");
}
BSVerify::verify_filename($pfile);
$files->{$pfile} = addfile($projid, $packid, "$odir/$pfile", $pfile);
}
} else {
Expand Down

0 comments on commit 23c8d21

Please sign in to comment.