$OpenBSD: patch-src_LexRuby_cxx,v 1.2 2007/01/18 10:56:27 steven Exp $
--- src/LexRuby.cxx.orig	Thu Jan 18 08:42:00 2007
+++ src/LexRuby.cxx	Thu Jan 18 08:42:00 2007
@@ -136,7 +136,7 @@ static int ClassifyWordRb(unsigned int s
         chAttr = SCE_RB_IDENTIFIER;
 	styler.ColourTo(end, chAttr);
 	if (chAttr == SCE_RB_WORD) {
-		strcpy(prevWord, s);
+		strlcpy(prevWord, s, MAX_KEYWORD_LENGTH+1);
 	} else {
 		prevWord[0] = 0;
 	}
