Blame SOURCES/cvs-1.11.19-comp.patch

83a95a
--- cvs-1.11.19/src/rcs.c.old	2005-03-17 11:21:18.000000000 +0100
83a95a
+++ cvs-1.11.19/src/rcs.c	2005-03-17 11:21:56.000000000 +0100
83a95a
@@ -138,7 +138,7 @@
83a95a
    string comparisons.  This macro speeds things up a bit by skipping
83a95a
    the function call when the first characters are different.  It
83a95a
    evaluates its arguments multiple times.  */
83a95a
-#define STREQ(a, b) (*(char *)(a) == *(char *)(b) && strcmp ((a), (b)) == 0)
83a95a
+#define STREQ(a, b) ((a) != NULL && (b) != NULL && *(char *)(a) == *(char *)(b) && strcmp ((a), (b)) == 0)
83a95a
 
83a95a
 /*
83a95a
  * We don't want to use isspace() from the C library because: