diff options
Diffstat (limited to 'eit.diff')
-rw-r--r-- | eit.diff | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/eit.diff b/eit.diff new file mode 100644 index 0000000..57584b9 --- /dev/null +++ b/eit.diff @@ -0,0 +1,25 @@ +# This is a BitKeeper generated patch for the following project: +# Project Name: Linux VDR +# This patch format is intended for GNU patch command version 2.5 or higher. +# This patch includes the following deltas: +# ChangeSet 1.21 -> 1.22 +# eit.c 1.6 -> 1.7 +# +# The following is the BitKeeper ChangeSet Log +# -------------------------------------------- +# 02/04/01 aschultz@warp10.net 1.22 +# fix segfault in eit.c +# -------------------------------------------- +# +diff -Nru a/eit.c b/eit.c +--- a/eit.c Mon Apr 1 14:38:00 2002 ++++ b/eit.c Mon Apr 1 14:38:00 2002 +@@ -559,7 +559,7 @@ + pSubtitle = compactspace(pSubtitle); + pExtendedDescription = compactspace(pExtendedDescription); + // Remove superfluous hyphens: +- if (pExtendedDescription) { ++ if (pExtendedDescription && strlen(pExtendedDescription) >= 3) { + char *p = pExtendedDescription + 1; + while (*p) { + if (*p == '-' && *(p + 1) == ' ' && *(p + 2) && islower(*(p - 1)) && islower(*(p + 2))) { |