diff options
author | aszlig <aszlig@nix.build> | 2017-11-30 13:16:56 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2017-11-30 13:22:11 +0100 |
commit | a01b8280507b8c0c07572661365dbb023854f437 (patch) | |
tree | d2e5ac49daad5dee26d38ca4def7b1189afaebc1 /pkgs/build-support/build-sandbox/src/sandbox.c | |
parent | 2df7436fb32cf7ac871b1143a8270f8cfa16b7e1 (diff) |
pkgs/sandbox: Check for absolute path in makedirs
Though we're already checking the realpath() let's actually make sure that the path begins with a slash, otherwise we'll run into a segfault later when we try to access the second byte of path. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/build-support/build-sandbox/src/sandbox.c')
0 files changed, 0 insertions, 0 deletions