Displaying 9 results from an estimated 9 matches for "_new_array".
Did you mean:
new_array
2017 May 05
10
[Bug 12769] New: error allocating core memory buffers (code 22) depending on source file system
https://bugzilla.samba.org/show_bug.cgi?id=12769
Bug ID: 12769
Summary: error allocating core memory buffers (code 22)
depending on source file system
Product: rsync
Version: 3.1.0
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
2017 Oct 31
2
[Bug 13112] New: receive_xattr heap overread with non null terminated name and xattr filter
...0x4047c8 in _start (/home/raj/rsync/asan/bin/rsync+0x4047c8)
0x60200000e831 is located 0 bytes to the right of 1-byte region
[0x60200000e830,0x60200000e831)
allocated by thread T0 here:
#0 0x7ffff6f04572 in malloc
(/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libasan.so.2+0x98572)
#1 0x44e48b in _new_array /home/raj/rsync/rsync/util2.c:68
#2 0x4a2c63 in receive_xattr /home/raj/rsync/rsync/xattrs.c:822
#3 0x40beac in recv_file_entry /home/raj/rsync/rsync/flist.c:1108
#4 0x415bee in recv_file_list /home/raj/rsync/rsync/flist.c:2476
#5 0x454eaa in do_server_recv /home/raj/rsync/rsync/mai...
2011 Sep 22
3
[Bug 8475] New: memory leak around free_xattr() and rsync_xal_free(), with -aX, 200 bytes per file and per directory
...184)
by 0x42110A: client_run (main.c:1039)
by 0x421B9B: start_client (main.c:1287)
- There is another unrelated leak at much lower rate;
109 bytes in 39 blocks are definitely lost in loss record 17 of 30
at 0x4A05E46: malloc (vg_replace_malloc.c:195)
by 0x41DF8F: _new_array (util.c:1430)
by 0x406D00: make_file (flist.c:1215)
by 0x40725B: send_file_name (flist.c:1333)
by 0x40817D: send_directory (flist.c:1673)
by 0x408991: send1extra (flist.c:1827)
by 0x408D23: send_extra_file_list (flist.c:1899)
by 0x417345: send_files (sender...
2017 Oct 27
1
[Bug 13105] New: 1byte heap overflow in sanitize_path
...0x4047c8 in _start (/home/raj/rsync/asan/bin/rsync+0x4047c8)
0x60200000eb71 is located 0 bytes to the right of 1-byte region
[0x60200000eb70,0x60200000eb71)
allocated by thread T0 here:
#0 0x7ffff6f04572 in malloc
(/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libasan.so.2+0x98572)
#1 0x44e480 in _new_array /home/raj/rsync/rsync/util2.c:68
#2 0x44aed9 in sanitize_path /home/raj/rsync/rsync/util.c:1023
#3 0x449484 in glob_expand /home/raj/rsync/rsync/util.c:717
#4 0x449af8 in glob_expand_module /home/raj/rsync/rsync/util.c:783
#5 0x478b61 in read_args /home/raj/rsync/rsync/io.c:1266...
2017 Oct 31
0
[Bug 13113] New: receive_xattr heap overflow when prepending RSYNC_PREFIX
...0x4047c8 in _start (/home/raj/rsync/asan/bin/rsync+0x4047c8)
0x60200000e825 is located 11 bytes to the left of 3-byte region
[0x60200000e830,0x60200000e833)
allocated by thread T0 here:
#0 0x7ffff6f04572 in malloc
(/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libasan.so.2+0x98572)
#1 0x44e48b in _new_array /home/raj/rsync/rsync/util2.c:68
#2 0x4a2c66 in receive_xattr /home/raj/rsync/rsync/xattrs.c:822
#3 0x40beac in recv_file_entry /home/raj/rsync/rsync/flist.c:1108
#4 0x415bee in recv_file_list /home/raj/rsync/rsync/flist.c:2476
#5 0x454eaa in do_server_recv /home/raj/rsync/rsync/mai...
2004 Apr 19
3
[PATCH] time limit
...000000 -0400
@@ -267,6 +267,7 @@
int unsafe_symlink(const char *dest, const char *src);
char *timestring(time_t t);
int msleep(int t);
+time_t get_rsync_start_time(void);
int cmp_modtime(time_t file1, time_t file2);
int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6);
void *_new_array(unsigned int size, unsigned long num);
diff -urN rsync-2.6.1pre-2/rsync.1 rsync-2.6.1pre-2_modified/rsync.1
--- rsync-2.6.1pre-2/rsync.1 2004-04-17 14:38:47.000000000 -0400
+++ rsync-2.6.1pre-2_modified/rsync.1 2004-04-19 16:07:57.000000000 -0400
@@ -383,6 +383,7 @@
--log-format=FORMAT lo...
2004 Apr 22
2
[PATCH] --timelimit and --stopat
...000000 -0400
@@ -267,6 +267,7 @@
int unsafe_symlink(const char *dest, const char *src);
char *timestring(time_t t);
int msleep(int t);
+time_t get_rsync_start_time(void);
int cmp_modtime(time_t file1, time_t file2);
int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6);
void *_new_array(unsigned int size, unsigned long num);
diff -urN rsync-2.6.1pre-2/rsync.1 rsync-2.6.1pre-2_modified/rsync.1
--- rsync-2.6.1pre-2/rsync.1 2004-04-17 14:38:47.000000000 -0400
+++ rsync-2.6.1pre-2_modified/rsync.1 2004-04-22 15:36:04.000000000 -0400
@@ -383,6 +383,8 @@
--log-format=FORMAT lo...
2004 Apr 10
0
patches for copying atimes
...ame);
@@ -268,7 +268,7 @@
int unsafe_symlink(const char *dest, const char *src);
char *timestring(time_t t);
int msleep(int t);
-int cmp_modtime(time_t file1, time_t file2);
+int cmp_time(time_t file1, time_t file2);
int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6);
void *_new_array(unsigned int size, unsigned long num);
void *_realloc_array(void *ptr, unsigned int size, unsigned long num);
Index: rsync.c
===================================================================
RCS file: /cvsroot/rsync/rsync.c,v
retrieving revision 1.135
diff -u -w -r1.135 rsync.c
--- rsync.c 23 Ma...
2004 Apr 20
1
improved atime patch
...ame);
@@ -267,7 +267,7 @@
int unsafe_symlink(const char *dest, const char *src);
char *timestring(time_t t);
int msleep(int t);
-int cmp_modtime(time_t file1, time_t file2);
+int cmp_time(time_t file1, time_t file2);
int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6);
void *_new_array(unsigned int size, unsigned long num);
void *_realloc_array(void *ptr, unsigned int size, unsigned long num);
Index: rsync.1
===================================================================
RCS file: /cvsroot/rsync/rsync.1,v
retrieving revision 1.175
diff -u -w -r1.175 rsync.1
--- rsync.1 17 Ap...