git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4677448
)
Fixed memory allocation of 'sandbox_parent_own_orbit_dir'.
author
short
<>
Tue, 17 Jun 2003 07:49:20 +0000
(07:49 +0000)
committer
short
<>
Tue, 17 Jun 2003 07:49:20 +0000
(07:49 +0000)
src/libcaptive/sandbox/split.c
patch
|
blob
|
history
diff --git
a/src/libcaptive/sandbox/split.c
b/src/libcaptive/sandbox/split.c
index
eef6285
..
bdb9dc4
100644
(file)
--- a/
src/libcaptive/sandbox/split.c
+++ b/
src/libcaptive/sandbox/split.c
@@
-346,7
+346,7
@@
gboolean errbool;
/* FIXME: Security: Duplicate giop_tmpdir_init() here. */
if (!sandbox_parent_own_orbit_dir) {
- sandbox_parent_own_orbit_dir=
captive_printf_alloca
("/tmp/captive-orbit-%d",getpid());
+ sandbox_parent_own_orbit_dir=
g_strdup_printf
("/tmp/captive-orbit-%d",getpid());
if (mkdir(sandbox_parent_own_orbit_dir,0700)) {
DIR *dir;
struct dirent *dirent;