diff options
author | dsmith <dsmith> | 2007-07-09 18:20:35 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2007-07-09 18:20:35 +0000 |
commit | 61c97c45390e3fd5c267fdbc58a580914354527f (patch) | |
tree | 420bd0467ac355450542eb39144f96c72a8d3e41 /runtime/staprun/relay.c | |
parent | 5a2e4fd1883c72648dd1b865c616ad1ce48e30e8 (diff) | |
download | systemtap-steved-61c97c45390e3fd5c267fdbc58a580914354527f.tar.gz systemtap-steved-61c97c45390e3fd5c267fdbc58a580914354527f.tar.xz systemtap-steved-61c97c45390e3fd5c267fdbc58a580914354527f.zip |
2007-07-09 David Smith <dsmith@redhat.com>
* relay.c (init_relayfs): Make sure buffers are big enough to hold
a full path.
* relay_old.c (init_oldrelayfs): Ditto.
Diffstat (limited to 'runtime/staprun/relay.c')
-rw-r--r-- | runtime/staprun/relay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/relay.c b/runtime/staprun/relay.c index e09147da..9c77517a 100644 --- a/runtime/staprun/relay.c +++ b/runtime/staprun/relay.c @@ -121,7 +121,7 @@ int init_relayfs(void) { int i; struct statfs st; - char buf[128], relay_filebase[128]; + char buf[PATH_MAX], relay_filebase[PATH_MAX]; dbug(1, "initializing relayfs\n"); |