Displaying 5 results from an estimated 5 matches for "overflow_exit".
2006 Nov 21
1
rsync v2.6.9: small patch fixing NORETURN failures
...ETURN2;
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
int fd_r, int fd_w);
@@ -276,8 +276,8 @@
void set_blocking(int fd);
int fd_pair(int fd[2]);
void print_child_argv(char **cmd);
-NORETURN void out_of_memory(char *str);
-NORETURN void overflow_exit(char *str);
+NORETURN void out_of_memory(char *str) NORETURN2;
+NORETURN void overflow_exit(char *str) NORETURN2;
int set_modtime(char *fname, time_t modtime, mode_t mode);
int mkdir_defmode(char *fname);
int create_directory_path(char *fname);
--- rsync-2.6.9/rsync.h.orig 2006-10-24 05:31:30.00...
2017 Feb 07
2
[Bug 12568] New: Integer overflow still affects xattrs.c
...ize_t datum_len = read_varint(f);
689 size_t dget_len = datum_len > MAX_FULL_DATUM ? 1 + MAX_DIGEST_LEN :
datum_len;
690 size_t extra_len = MIGHT_NEED_RPRE ? RPRE_LEN : 0;
691 if ((dget_len + extra_len < dget_len)
692 || (dget_len + extra_len + name_len < dget_len))
693 overflow_exit("receive_xattr");
694 ptr = new_array(char, dget_len + extra_len + name_len);
695 if (!ptr)
696 out_of_memory("receive_xattr");
697 name = ptr + dget_len + extra_len;
698 read_buf(f, name, name_len);
>From the code we can see that the security checks at li...
2019 Apr 17
3
[Bug 13901] New: Empty quotes adds cwd to SRC directories
https://bugzilla.samba.org/show_bug.cgi?id=13901
Bug ID: 13901
Summary: Empty quotes adds cwd to SRC directories
Product: rsync
Version: 3.1.3
Hardware: x64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayne at opencoder.net
Reporter:
2008 Mar 04
1
Several changes missing from [HEAD] fileflags.diff
...me1, const char *fname2);
> void trim_trailing_slashes(char *name);
> int do_mkdir(char *fname, mode_t mode);
> @@ -326,7 +329,7 @@ int fd_pair(int fd[2]);
> void print_child_argv(const char *prefix, char **cmd);
> NORETURN void out_of_memory(const char *str);
> NORETURN void overflow_exit(const char *str);
> -int set_modtime(const char *fname, time_t modtime, mode_t mode);
> +int set_modtime(const char *fname, time_t modtime, mode_t mode,
> uint32 fileflags);
> int mkdir_defmode(char *fname);
> int create_directory_path(char *fname);
> int full_write(int desc,...
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
...0, 'v', 0, 0 },
diff -uNr rsync-2.6.6/proto.h rsync-2.6.6_patch/proto.h
--- rsync-2.6.6/proto.h 2005-07-07 21:49:14.000000000 +0200
+++ rsync-2.6.6_patch/proto.h 2005-11-23 23:51:54.000000000 +0100
@@ -266,7 +266,7 @@
void print_child_argv(char **cmd);
void out_of_memory(char *str);
void overflow_exit(char *str);
-int set_modtime(char *fname, time_t modtime);
+int set_modtime(char *fname, time_t modtime, time_t acctime);
int create_directory_path(char *fname, int base_umask);
int full_write(int desc, char *ptr, size_t len);
int copy_file(char *source, char *dest, mode_t mode);
diff -uNr rsync...