Ticket #103: x_bug.php
File x_bug.php, 337 bytes (added by , 18 years ago) |
---|
Line | |
---|---|
1 | <? |
2 | #document_pointer = new_document(); |
3 | document_add_term($document_pointer, "hej", 1); |
4 | var_dump($document_pointer); |
5 | |
6 | $broken_pointer = array(); |
7 | |
8 | // this will segfault, seemingly because we give a nonexistant array element as the index pointer |
9 | $document_id = writabledatabase_add_document($broken_pointer[1], $document_pointer); |
10 | ?> |