18336: trunk/xapian-core/ trunk/xapian-core/queryparser/

olly <[email protected]> Fri, 07 Nov 2014 00:43:40 +0000
Newsgroups gmane.comp.search.xapian.cvs
Message-ID <[email protected]>
SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       18336
Date:           2014-11-07 00:43:38 +0000 (Fri, 07 Nov 2014)

Log message (5 lines):
queryparser/lemon.c: Sync change from upstream: "In LEMON, limit the
size of the grammar file to 100MB. This ensures that the program
will never experience integer overflow. To be doubly sure, use
calloc() instead of malloc() when allocating arrays." Generated code
is identical.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/queryparser/lemon.c

Links:
http://xapian.org/C?18336
http://xapian.org/C?18336?trunk/xapian-core/ChangeLog
http://xapian.org/C?18336?trunk/xapian-core/queryparser/lemon.c