projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ceea5c
)
Don't need zero_bytes() after ecalloc()
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Fri, 30 Mar 2012 18:59:27 +0000
(14:59 -0400)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Fri, 30 Mar 2012 18:59:27 +0000
(14:59 -0400)
src/exec_pty.c
patch
|
blob
|
history
diff --git
a/src/exec_pty.c
b/src/exec_pty.c
index f4a4804e685fd5b3454e28752ea69647f1a1b864..93cc9b0d2011172c2d91c27126f83492a325d6d0 100644
(file)
--- a/
src/exec_pty.c
+++ b/
src/exec_pty.c
@@
-406,7
+406,6
@@
io_buf_new(int rfd, int wfd, bool (*action)(const char *, unsigned int),
debug_decl(io_buf_new, SUDO_DEBUG_EXEC);
iob = ecalloc(1, sizeof(*iob));
- zero_bytes(iob, sizeof(*iob));
iob->rfd = rfd;
iob->wfd = wfd;
iob->action = action;