18312: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/include/xapian/ trunk/xapian-core/tests/
olly <[email protected]> Sat, 25 Oct 2014 20:27:52 +0100
| Newsgroups | gmane.comp.search.xapian.cvs |
|---|---|
| Message-ID | <[email protected]> |
SVN root: svn://svn.xapian.org/xapian Changes by: olly Revision: 18312 Date: 2014-10-25 20:27:52 +0100 (Sat, 25 Oct 2014) Log message (7 lines): api/query.cc,api/queryinternal.cc,api/smallvector.h, include/xapian/query.h: Stop using a reference where we may end up passing *NULL, as that's invalid. Thanks Nick Lewycky and ubsan for helping track this down. tests/api_postingsource.cc: Fix testsuite to avoid passing literal NULL - pass nullptr for C++11 and don't bother with that part of the testcase for older C++. Modified files: U trunk/xapian-core/ChangeLog U trunk/xapian-core/api/query.cc U trunk/xapian-core/api/queryinternal.cc U trunk/xapian-core/api/smallvector.h U trunk/xapian-core/include/xapian/query.h U trunk/xapian-core/tests/api_postingsource.cc Links: http://xapian.org/C?18312 http://xapian.org/C?18312?trunk/xapian-core/ChangeLog http://xapian.org/C?18312?trunk/xapian-core/api/query.cc http://xapian.org/C?18312?trunk/xapian-core/api/queryinternal.cc http://xapian.org/C?18312?trunk/xapian-core/api/smallvector.h http://xapian.org/C?18312?trunk/xapian-core/include/xapian/query.h http://xapian.org/C?18312?trunk/xapian-core/tests/api_postingsource.cc