Ticket #103 (closed defect: released)
another php segfault when an xapian function is passed an improper argument.
| Reported by: | malte | Owned by: | olly |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Xapian-bindings | Version: | 0.9.9 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description
reproduction code:
<?
#document_pointer = new_document(); document_add_term($document_pointer, "hej", 1); var_dump($document_pointer);
$broken_pointer = array();
// this will segfault, seemingly because we give a nonexistant array
element as the index pointer
$document_id = writabledatabase_add_document($broken_pointer[1],
$document_pointer); ?>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
