diff options
author | converse <empty> | 1991-07-16 18:30:20 +0000 |
---|---|---|
committer | converse <empty> | 1991-07-16 18:30:20 +0000 |
commit | dbd7bda9a6cced495eda3257616b27d02589894c (patch) | |
tree | 5749cfa0ca47e835a65defe7d419d5013b799cb4 /xc/lib/Xt/Intrinsic.c | |
parent | ef1fee7c1fb8f41c3e144beefa82bfc912d7616f (diff) |
parsing bug in XtFindFile when escaped colons are used. #4167
Diffstat (limited to 'xc/lib/Xt/Intrinsic.c')
-rw-r--r-- | xc/lib/Xt/Intrinsic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xc/lib/Xt/Intrinsic.c b/xc/lib/Xt/Intrinsic.c index 81849e6c1..3a57cc330 100644 --- a/xc/lib/Xt/Intrinsic.c +++ b/xc/lib/Xt/Intrinsic.c @@ -1,4 +1,4 @@ -/* $XConsortium: Intrinsic.c,v 1.169 91/05/11 14:55:07 converse Exp $ */ +/* $XConsortium: Intrinsic.c,v 1.170 91/06/11 20:26:02 converse Exp $ */ /*********************************************************** Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts, @@ -805,7 +805,7 @@ String XtFindFile(path, substitutions, num_substitutions, predicate) start = colon+1; } if (colon != NULL) - len = colon - start; + len = colon - path; else len = strlen(path); if (Resolve(path, len, substitutions, num_substitutions, |