Displaying 11 results from an estimated 11 matches for "safe_read".
2013 Dec 02
2
[Bug 10304] New: safe_read failed to read 1 bytes
https://bugzilla.samba.org/show_bug.cgi?id=10304
Summary: safe_read failed to read 1 bytes
Product: rsync
Version: 3.1.0
Platform: x86
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: polhallen at...
2017 Apr 14
4
rsync buffer overflow detected
...0x00007ffff791caa7 in __GI___fortify_fail
(msg=msg at entry=0x7ffff7989c4a "buffer overflow detected") at
fortify_fail.c:31
#4 0x00007ffff791acc0 in __GI___chk_fail () at chk_fail.c:28
#5 0x00007ffff791ca17 in __fdelt_chk (d=d at entry=1606) at fdelt_chk.c:25
#6 0x0000555555584c78 in safe_read (fd=fd at entry=1606,
buf=buf at entry=0x7fffffffa810 "\037", len=len at entry=4) at io.c:245
#7 0x0000555555585cfe in read_buf (f=f at entry=1606,
buf=buf at entry=0x7fffffffa810 "\037", len=len at entry=4) at io.c:1815
#8 0x0000555555585ef6 in read_int (f=f at entry=1606) at...
2016 Nov 30
2
segfault at 968 Error
Hi Team,
While Running rsync rsync://username at ip:873 , I am getting following error.
rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by
peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(276)
[Receiver=3.1.1]
In Remote pc , i can see segmentation fault, dmesg gives following error.
My remote PC using debian wheezy.
rsync[9022]: segfault at 968 ip 00...
2015 Oct 24
15
[Bug 11572] New: rsync --debug doesn't work, and gives erroneous results when taken out
...--------
//
// debug on
//
//
///////////////////////////////////////////////////
[john at johnsplace Downloads]$ rsync -rav --debug 2015 delete_me/
FILE_STRUCT_LEN=24, EXTRA_LEN=4
cmd=<NULL> machine=<NULL> user=<NULL> path=.
cmd[0]=. cmd[1]=.
msg checking charset: UTF-8
[sender] safe_read(5)=4
(Client) Protocol versions: remote=31, negotiated=31
[Receiver] safe_read(0)=4
(Server) Protocol versions: remote=31, negotiated=31
[sender] safe_read(5)=1
[sender] safe_read(5)=4
sending incremental file list
rsync: change_dir "/home/john/Downloads//delete_me" failed: No such file o...
2018 Mar 01
29
[Bug 13317] New: rsync returns success when target filesystem is full
https://bugzilla.samba.org/show_bug.cgi?id=13317
Bug ID: 13317
Summary: rsync returns success when target filesystem is full
Product: rsync
Version: 3.1.2
Hardware: x64
OS: FreeBSD
Status: NEW
Severity: major
Priority: P5
Component: core
Assignee: wayned at samba.org
2016 Dec 02
2
segfault at 968 Error
...m>:
>Any update on this issue.
>
>On Wed, Nov 30, 2016 at 6:29 PM, VigneshDhanraj G <
>vigneshdhanraj.g at gmail.com> wrote:
>
>> Hi Team,
>>
>> While Running rsync rsync://username at ip:873 , I am getting following
>> error.
>>
>> rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset
>by
>> peer (104)
>> rsync error: error in rsync protocol data stream (code 12) at
>io.c(276)
>> [Receiver=3.1.1]
>>
>> In Remote pc , i can see segmentation fault, dmesg gives following
>error.
>> My r...
2010 Apr 03
1
hivex: Exported foreign symbols in libhivex.so.0.0.0
...1.2.1
c_isspace at Base 1.2.1
c_isupper at Base 1.2.1
c_isxdigit at Base 1.2.1
c_tolower at Base 1.2.1
c_toupper at Base 1.2.1
exit_failure at Base 1.2.1
full_read at Base 1.2.1
full_write at Base 1.2.1
printf_fetchargs at Base 1.2.1
printf_parse at Base 1.2.1
program_name at Base 1.2.1
safe_read at Base 1.2.1
safe_write at Base 1.2.1
set_program_name at Base 1.2.1
vasnprintf at Base 1.2.1
xstrtol at Base 1.2.1
xstrtol_fatal at Base 1.2.1
xstrtoll at Base 1.2.1
xstrtoul at Base 1.2.1
xstrtoull at Base 1.2.1
2016 Dec 02
0
segfault at 968 Error
Any update on this issue.
On Wed, Nov 30, 2016 at 6:29 PM, VigneshDhanraj G <
vigneshdhanraj.g at gmail.com> wrote:
> Hi Team,
>
> While Running rsync rsync://username at ip:873 , I am getting following
> error.
>
> rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by
> peer (104)
> rsync error: error in rsync protocol data stream (code 12) at io.c(276)
> [Receiver=3.1.1]
>
> In Remote pc , i can see segmentation fault, dmesg gives following error.
> My remote PC using debian wheezy.
>
&...
2017 Apr 16
0
Aw: rsync buffer overflow detected
..._GI___fortify_fail
> (msg=msg at entry=0x7ffff7989c4a "buffer overflow detected") at
> fortify_fail.c:31
> #4 0x00007ffff791acc0 in __GI___chk_fail () at chk_fail.c:28
> #5 0x00007ffff791ca17 in __fdelt_chk (d=d at entry=1606) at fdelt_chk.c:25
> #6 0x0000555555584c78 in safe_read (fd=fd at entry=1606,
> buf=buf at entry=0x7fffffffa810 "\037", len=len at entry=4) at io.c:245
> #7 0x0000555555585cfe in read_buf (f=f at entry=1606,
> buf=buf at entry=0x7fffffffa810 "\037", len=len at entry=4) at io.c:1815
> #8 0x0000555555585ef6 in read_int (f...
2016 Dec 02
0
segfault at 968 Error
...gt;
>> On Wed, Nov 30, 2016 at 6:29 PM, VigneshDhanraj G <
>> vigneshdhanraj.g at gmail.com> wrote:
>>
>>> Hi Team,
>>>
>>> While Running rsync rsync://username at ip:873 , I am getting following
>>> error.
>>>
>>> rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by
>>> peer (104)
>>> rsync error: error in rsync protocol data stream (code 12) at io.c(276)
>>> [Receiver=3.1.1]
>>>
>>> In Remote pc , i can see segmentation fault, dmesg gives following
>>>...
2003 Sep 05
1
new option suggestion '--backup-only'
...f (ofd == -1) {
- rprintf(FERROR,"open %s: %s\n",
- dest,strerror(errno));
- close(ifd);
+ int saveerrno = errno;
+ if (verbose > 2)
+ rprintf(FERROR,"open %s: %s\n",
+ dest,strerror(errno));
+ close(ifd);
+ errno = saveerrno;
return -1;
}
while ((len = safe_read(ifd, buf, sizeof(buf))) > 0) {
if (full_write(ofd, buf, len) < 0) {
+ int saveerrno = errno;
rprintf(FERROR,"write %s: %s\n",
dest,strerror(errno));
close(ifd);
close(ofd);
+ errno = saveerrno;
return -1;
}
}
===================== end of the patch ==...