some people are now using rsync as a public server, using various
authorAndrew Tridgell <tridge@samba.org>
Mon, 15 Dec 1997 21:35:37 +0000 (21:35 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 15 Dec 1997 21:35:37 +0000 (21:35 +0000)
commit13a1f7929ed05c652dc1b3eb4489ced01c8616f1
tree610349bdf085868f7a49a07614b709094b20136a
parente92338c82deba1576d23f22e11d95b0b34432e08
some people are now using rsync as a public server, using various
patches or wrappers. One problem with this is that rsync was not
written with this in mind and wasn't very careful about possible stack
overflows etc which could lead to security breaches. This wasn't a
problem when run in the traditional way as any user that can run rsync
can login anyway and cause much more damage that way.
This patch attempts to close possible stack overflow problems. I've
checked for all strcpy(), strcat(), sprintf() and memcpy()
overflows. I would appreciate it if someone else with a devious mind
could also go through the rsync source code and see if there are any
other stack overflows possible. Let me know if you do.
exclude.c
flist.c
rsync.c