18 lines
648 B
Diff
18 lines
648 B
Diff
Index: calendar/libical/src/libical/icalvalue.c
|
|
===================================================================
|
|
RCS file: /cvs/gnome/libical/src/libical/icalvalue.c,v
|
|
retrieving revision 1.22
|
|
retrieving revision 1.23
|
|
diff -u -p -r1.22 -r1.23
|
|
--- calendar/libical/src/libical/icalvalue.c 15 Jun 2006 14:42:21 -0000 1.22
|
|
+++ calendar/libical/src/libical/icalvalue.c 3 Jul 2006 14:29:43 -0000 1.23
|
|
@@ -1346,7 +1346,7 @@ int icalvalue_decode_ical_string(const c
|
|
|
|
icalmemory_append_char(&str,&str_p,&buf_sz,'\0');
|
|
|
|
- if ((int)strlen(str) >= nMaxBufferLen) {
|
|
+ if ((int)strlen(str) > nMaxBufferLen) {
|
|
return 0;
|
|
}
|
|
|