From: Kjartan Maraas Date: Mon, 12 Feb 2007 11:53:07 +0000 (+0000) Subject: Fix a crash. Patch from Trond Myklebust. Closes bug #360017. X-Git-Tag: upstream/3.7.4~5875 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1bee5c242fae7b19da46061080344ebe7fb0386;p=platform%2Fupstream%2Fevolution-data-server.git Fix a crash. Patch from Trond Myklebust. Closes bug #360017. 2007-02-12 Kjartan Maraas * libedataserver/e-sexp.c: (parse_value): Fix a crash. Patch from Trond Myklebust. Closes bug #360017. svn path=/trunk/; revision=7620 --- diff --git a/ChangeLog b/ChangeLog index 6b73484..9cbd0ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-12 Kjartan Maraas + + * libedataserver/e-sexp.c: (parse_value): Fix a crash. + Patch from Trond Myklebust. Closes bug #360017. + 2007-02-12 Ross Burton * configure.in: diff --git a/libedataserver/e-sexp.c b/libedataserver/e-sexp.c index 24a89d7..81d0a06 100644 --- a/libedataserver/e-sexp.c +++ b/libedataserver/e-sexp.c @@ -899,6 +899,8 @@ parse_value(ESExp *f) token = g_scanner_get_next_token(gs); switch(token) { + case G_TOKEN_EOF: + break; case G_TOKEN_LEFT_PAREN: p(printf("got brace, its a list!\n")); return parse_list(f, TRUE);