2 # Do a basic sanity check on the method in the CVSROOT - don't crash
3 # if one is not specified! Bug#274020
5 # Patch from Steve McIntyre <steve@einval.com>
6 diff -ruN cvs-1.12.13-old/src/root.c cvs-1.12.13/src/root.c
7 --- cvs-1.12.13-old/src/root.c 2005-09-25 08:38:29.000000000 +0800
8 +++ cvs-1.12.13/src/root.c 2006-02-26 17:48:32.000000000 +0800
11 #endif /* defined (CLIENT_SUPPORT) || defined (SERVER_SUPPORT) */
15 + error (0, 0, "Missing method in CVSROOT.");
19 /* Now we have an access method -- see if it's valid. */
21 if (!strcasecmp (method, "local"))