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
Merged in the security fixes from 2.5.7.
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
36d5f1b
..
9fc3715
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-688,7
+688,7
@@
void io_start_buffering(int fd)
{
if (io_buffer) return;
multiplex_out_fd = fd;
- io_buffer =
(char *)malloc(
IO_BUFFER_SIZE);
+ io_buffer =
new_array(char,
IO_BUFFER_SIZE);
if (!io_buffer) out_of_memory("writefd");
io_buffer_count = 0;
}