#103 closed defect (released)
another php segfault when an xapian function is passed an improper argument.
| Reported by: | alec | Owned by: | Olly Betts | 
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Xapian-bindings | Version: | 0.9.9 | 
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Operating System: | All | 
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 (1)
Change History (3)
by , 19 years ago
comment:1 by , 19 years ago
| Resolution: | → invalid | 
|---|---|
| Status: | new → closed | 
comment:2 by , 19 years ago
| Operating System: | → All | 
|---|---|
| Resolution: | invalid → released | 
That was easy to fix!
  Note:
 See   TracTickets
 for help on using tickets.
    

reproduce code