similar to: [Bug 13105] New: 1byte heap overflow in sanitize_path

Displaying 20 results from an estimated 100 matches similar to: "[Bug 13105] New: 1byte heap overflow in sanitize_path"

2004 Aug 12
0
security hole in non-chroot rsync daemon
SUMMARY There is a path-sanitizing bug that affects daemon mode in all recent rsync versions (including 2.6.2) but only if chroot is disabled. It does NOT affect the normal send/receive filenames that specify what files should be transferred (this is because these names happen to get sanitized twice, and thus the second call removes any lingering leading slash(es) that the first call left
2017 Oct 27
1
[Bug 13104] New: NULL deref do_server_sender when argc=0
https://bugzilla.samba.org/show_bug.cgi?id=13104 Bug ID: 13104 Summary: NULL deref do_server_sender when argc=0 Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter:
2011 Oct 05
4
[Bug 8508] New: out of memory in glob_expand_module
https://bugzilla.samba.org/show_bug.cgi?id=8508 Summary: out of memory in glob_expand_module Product: rsync Version: 3.0.8 Platform: All OS/Version: SunOS Status: NEW Severity: major Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: david at midrange.com
2004 Jan 30
1
rsync 2.6.0: possible sanitization bug?
Hiya. While merging the 2.6.0 changes into our modified version of rsync, I noticed the following bit of code in 2.6.0's options.c: extern int sanitize_paths; if (sanitize_paths) sanitize_path(strdup(files_from), NULL); filesfrom_fd = open(files_from, O_RDONLY|O_BINARY); Since sanitize_path modifies its first argument in place, the path that open()
2013 Oct 24
0
patch for combining detect-renamed and fileflags patches (fwd)
Dear collegaues, please evaluate the patch attached, which allow to use both --detect-renamed and --fileflags extra features. This is meta-patch which sould be applied to detect-renamed. fileflags patch should be applied first, following by the modified detect-renamed patch. It is included in current FreeBSD port, but it seems it would be much more useful to be supported by samba
2009 Jan 28
0
X_send_file download 1byte file instade of original size
i m using x_send_file pluggins and download file then only 1byte file is downloaded. in Controller x_send_file("#{RAILS_ROOT}/public#{params[:file]}") if you have idea for this problem so give me a solution -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2005 Jan 31
1
[patch] add "--ignore" option
Hi, The patch below adds a "--ignore" option to rsync, which means "--exclude-but-dont-delete-even-if-we-specified--delete-excluded". I need this for a few tasks, the simplest of which is to have rsync resist trying to delete NetApp filers' ".snapshot" directories. The change is fairly simple (the boolean filter returns become tri-state), and works for me both
2004 Mar 26
1
--link-dest mostly useless on a server without chroot
When using the rsync server without chroot, the --link-dest and --compare-dest options are almost useless. This is because sanitize_paths is called on the link-dest directory, stripping out leading dots and slashes. Thus, the only possiblitiy for a link-dest directory is under the target directory, which is generally not useful. There doesn't seem to be an easy fix. sanitize_paths is
2004 Apr 27
2
rsync 2.6.1 released (including security note)
Hopefully the email to the announce list will show up soon. Until then, you can get a jump on the rest by checking out the rsync home page to read the announcement: http://rsync.samba.org/ It includes a security note about a fix that affects read/write daemons that are not using chroot. If that includes you, you should look into upgrading (or maybe enabling chroot on an older rsync).
2004 May 29
1
[patch] Filename conversion
Hi, One feature missing from rsync, and requested on this list before, is on-the-fly conversion of filename character encoding. For example, I often need to sync files having Hebrew filenames from a UTF-8 system (Linux) to an ISO8859-8 system (Cygwin on Windows 2000 using the non-Unicode Win32 interface). Other circumstances surely abound. Attached is a patch against rsync 2.6.2 that adds an
2006 Apr 26
2
--link-dest and file/dir transfer to remote rsync daemon
Hi NG, I want to do incremental backups to a remote server running rsyncd (because daemonless transfer via ssh often hangs!). In contrast to transfer via ssh (without remote rsyncd) this doesn't seem possible, or do I miss something? Imagine I want to incrementally backup `mydir' to the backup space `backup' on e remote server `alpha' running an rsync daemon. rsyncd on
2008 Apr 12
2
merge an lvm snapshot back
So how does one accomplish this if say the snap is now deemed the copy of interest? I am hoping dd is not the only answer:) Thanks! jlc
2003 Mar 04
1
2.5.6 needs following fix on WinNTs
Hi, Here is the problem (syscall.c, function do_open) on NT, Win2K, WinXP, with stripped "/" for UNC path convention, detected in release 2.5.5, 2.5.6: int do_open(char *pathname, int flags, mode_t mode) { if (flags != O_RDONLY) { if (dry_run) return -1; CHECK_RO } #ifdef O_BINARY /* for Windows */ flags |= O_BINARY; #endif /* some systems can't handle a double / */
2002 Feb 14
1
HP/UX 11 bug
glob(3) on HP/UX 11 always strips a trailing slash from a pathname. This breaks the differing semantics of rsync directory host:/foo/bar rsync directory host:/foo/bar/ Here's a patch which, at least, doesn't seem to do any harm on Solaris or Linux and fixes the problem on HP. Cheers, Mark --- util.c.OLD Tue Jan 29 15:25:08 2002 +++ util.c Tue Jan 29 15:30:03 2002 @@ -542,6 +542,7 @@
2002 Oct 21
0
daemon and absolute sym-links
I THINK I've found a bug in rsync. When running an rsync daemon, absolute sym-links are not created correctly on the daemon end; the leading 'slash' is stripped off. To 'fix' this behavior, the following 3 changes can be made (to version 2.5.5): flist.c:63 add: extern int am_daemon; flist.c:538 (was 537) modify: if (sanitize_paths && !am_daemon) { config.h:316
2004 Jan 14
1
rsyncd bug for sym-links
I'm 99% sure there is a bug in rsync when running in daemon mode on a 'remote' server. The bug is that when trying to rsync a sym-link, the daemon 'leg' of the code strips off the leading path separator (for linux, this would be a '/'). I have produced a 'fixed' version of the code and we have been using it for at least 6 months. We've also used the
2003 Jun 25
3
patch draft for extended attributes on linux
This draft patch adds support for transferring extended attributes with a new --xattr option. It ought to work on Linux with XFS or ext2/ext3 filesystems with the SGI/bestbits attribute system. It is partially working, but there seems to be some kind of hang bug while transferring the file list. I suspect it might be provoking a problem in io.c. You need to rerun autoconf, autoheader and
2004 Apr 27
1
rsync-2.6.1 close() fixes
hi. return value of close() (receiver.c) is ignored. when running out of quota on NFS (for example), this can happen (without the patch): output file(s) is/are truncated to 0 bytes and rsync reports success. with the fix, this happens: close "/home/luser/.test.mp3.PwaG50": Disc quota exceeded rsync error: error in file IO (code 11) at receiver.c(464) ... ...and additionally, test.mp3
2006 Nov 28
3
DO NOT REPLY [Bug 4263] New: Symlinks gets corruped when rsyncd is used to 'put' the symlink.
https://bugzilla.samba.org/show_bug.cgi?id=4263 Summary: Symlinks gets corruped when rsyncd is used to 'put' the symlink. Product: rsync Version: 2.6.8 Platform: Sparc OS/Version: Solaris Status: NEW Severity: critical Priority: P3 Component: core AssignedTo:
2023 May 14
1
samba users at boot, the same local and samba user bug has gone
On 14/05/2023 20:32, Kees van Vloten via samba wrote: > The uid + gid are the unique identifier of a user in Linux, the name is > only relevant for the translation of number (uid) to name. > > I.e. a local-user == domain-user when uid + gid are identical. > > My nsswitch.conf prefers local-users over domain-users: > > passwd:???????? files systemd winbind >