看板FB_security
标 题Re: FreeBSD Security Advisory FreeBSD-SA-04:10.cvs
发信站NCTU CSIE FreeBSD Server (Wed May 19 11:56:01 2004)
转信站ptt!FreeBSD.csie.NCTU!not-for-mail
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=46YI:
I found the patch on ftp5.freebsd.org
My source tree was previously cvsuped to=20
5.2.1-RELEASE-p6. I found cvs=20
in /usr/src/contrib/cvs rather=20
than /usr/src/gnu/usr.bin/cvs, which is what the=20
advisory recommends.
The commands I used follow:
# cvs --version
Concurrent Versions System (CVS) 1.11.5-FreeBSD=20
(client/server)
# cd /usr/src
# patch < /path/to/patch
/* patch did not find the file to patch. */=20
# find /usr/src -name server.c | grep cvs
/usr/src/contrib/cvs/src/server.c
# cd /usr/src/contrib/cvs/src
# patch < /patch/to/patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
=2D --------------------------
|diff -Nur cvs-1.12.7.orig/src/server.c=20
cvs-1.12.7/src/server.c
|--- cvs-1.12.7.orig/src/server.c Tue Apr 6=20
22:17:55 2004
|+++ cvs-1.12.7/src/server.c Sun May 2=20
19:32:17 2004
=2D --------------------------
Patching file server.c using Plan A...
Hunk #1 succeeded at 1648 (offset 49 lines).
Hunk #2 succeeded at 1643 (offset 1 line).
done
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAq04DEnb2ZreqxQQRAgrkAJ4mG3Davy6faZzBdaA6pvxol+oKPwCfdMP1
0Y0AGa0xZak9Jr91c+4H+Ek=3D
=3D1Mw0
=2D----END PGP SIGNATURE-----
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"