Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed strcat() calls to strlcat().
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
52ec58e
..
46d6250
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1258,8
+1258,8
@@
static RETSIGTYPE rsync_panic_handler(UNUSED(int whatsig))
char cmd_buf[300];
int ret;
char cmd_buf[300];
int ret;
- s
printf(
cmd_buf, get_panic_action(),
- getpid(), getpid());
+ s
nprintf(cmd_buf, sizeof
cmd_buf, get_panic_action(),
+
getpid(), getpid());
/* Unless we failed to execute gdb, we allow the process to
* continue. I'm not sure if that's right. */
/* Unless we failed to execute gdb, we allow the process to
* continue. I'm not sure if that's right. */