Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 25 of 49) sorted by path

12

/PHP-7.0/
H A DNEWS29 . Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif
294 . Fixed bug #74103 (heap-use-after-free when unserializing invalid array
362 . Fixed bug #74819 (wddx_deserialize() heap out-of-bound read via
1026 . Fixed bug #73174 (heap overflow in php_pcre_replace_impl). (Stas)
1225 . Fixed bug #72837 (integer overflow in bzdecompress caused heap
1386 . Fixed bug #72541 (size_t overflow lead to heap corruption). (Stas)
1421 heap overflow in mdecrypt_generic). (Stas)
1453 . Fixed bug #72606 (heap-buffer-overflow (write) simplestring_addn
1485 . Fixed bug #72339 (Integer Overflow in _gd2GetHeader() resulting in heap
1489 in heap overflow). (CVE-2016-5767) (Pierre)
[all …]
/PHP-7.0/Zend/tests/
H A Dbug64578.phpt2 Bug #64578 (debug_backtrace in set_error_handler corrupts zend heap: segfault)
/PHP-7.0/Zend/
H A Dzend_alloc.c861 chunk->heap = heap;
1127 if (heap->chunks_count + heap->cached_chunks_count < heap->avg_chunks_count + 0.1
1531 if (zend_mm_gc(heap) && heap->real_size + (new_size - old_size) <= heap->limit) {
1549 heap->real_peak = MAX(heap->real_peak, heap->real_size);
1551 heap->peak = MAX(heap->peak, heap->size);
1671 heap->peak = MAX(orig_peak, heap->size);
1777 if (zend_mm_gc(heap) && heap->real_size + new_size <= heap->limit) {
1865 chunk->heap = heap;
2217 heap->custom_heap.std._free(heap);
2303 heap->size = heap->peak = 0;
[all …]
H A Dzend_alloc.h250 #define zend_mm_alloc(heap, size) _zend_mm_alloc((heap), (size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_… argument
251 #define zend_mm_free(heap, p) _zend_mm_free((heap), (p) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_C… argument
252 #define zend_mm_realloc(heap, p, size) _zend_mm_realloc((heap), (p), (size) ZEND_FILE_LINE_CC ZEND… argument
253 #define zend_mm_realloc2(heap, p, size, copy_size) _zend_mm_realloc2((heap), (p), (size), (copy_siz… argument
254 #define zend_mm_block_size(heap, p) _zend_mm_block_size((heap), (p) ZEND_FILE_LINE_CC ZEND_FILE_L… argument
256 #define zend_mm_alloc_rel(heap, size) _zend_mm_alloc((heap), (size) ZEND_FILE_LINE_RELAY_CC ZEND_F… argument
257 #define zend_mm_free_rel(heap, p) _zend_mm_free((heap), (p) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LIN… argument
258 #define zend_mm_realloc_rel(heap, p, size) _zend_mm_realloc((heap), (p), (size) ZEND_FILE_LINE_RELA… argument
259 #define zend_mm_realloc2_rel(heap, p, size, copy_size) _zend_mm_realloc2((heap), (p), (size), (copy… argument
260 #define zend_mm_block_size_rel(heap, p) _zend_mm_block_size((heap), (p) ZEND_FILE_LINE_CC ZEND_FIL… argument
[all …]
/PHP-7.0/ext/exif/tests/
H A Dbug68799.phpt8 * Pollute the heap. Helps trigger bug. Sometimes not needed.
H A Dbug72094.phpt2 Bug #72094: Out of bounds heap read access in exif header processing
H A Dbug76557.phpt2 Bug 76557 (heap-buffer-overflow (READ of size 48) while reading exif data)
/PHP-7.0/ext/gd/tests/
H A Dbug72339.phpt2 Bug #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
/PHP-7.0/ext/pcre/pcrelib/
H A DChangeLog259 memory address was read. This bug was reported as "heap overflow",
265 incorrect code to be compiled. This bug was reported as "heap overflow",
767 compiled to use the heap for recursion.
1153 when the heap is used for recursion (compiled with --disable-stack-for-
1154 recursion). Instead of malloc and free for each heap frame each time a
1311 than the heap when not using the stack for recursion. This gives a
3305 (b) When PCRE was configured to use the heap rather than the stack for
3982 stack (or heap if NO_RECURSE is set) that is used. The default can be set
4453 each "recursion" in a frame on the heap, and gets/frees frames whenever it
4467 PCRE has been compiled to use the stack or the heap for recursion. The
H A DNEWS160 . There should be a performance improvement when using the heap instead of the
572 function calls when matching. Instead it gets memory from the heap. This slows
H A DREADME322 obtained from the heap via the special functions pcre_stack_malloc() and
/PHP-7.0/ext/pcre/pcrelib/doc/
H A Dpcre.txt1115 the heap to remember data, instead of using recursive function calls,
1153 to restrict the maximum amount of stack (or heap, if --disable-stack-
1810 are used only when PCRE is compiled to use the heap for remembering
2022 on the heap instead of recursive function calls. In this case,
2024 blocks on the heap, thus avoiding the use of the stack.
3182 can be used, or, when PCRE has been compiled to use memory on the heap
3183 instead of the stack, the amount of heap memory that can be used. This
4077 If PCRE has been compiled to use the heap instead of the stack for
4079 obtained from the heap.
10350 Compiling PCRE to use heap instead of stack for pcre[16|32]_exec()
[all …]
/PHP-7.0/ext/pcre/pcrelib/testdata/
H A Dtestinput7182 the same character differ. The first went wrong with heap frame storage; the
H A Dtestoutput7400 the same character differ. The first went wrong with heap frame storage; the
/PHP-7.0/ext/spl/
H A Dspl_heap.c242 if (heap->count+1 > heap->max_size) { in spl_ptr_heap_insert()
244 heap->elements = erealloc(heap->elements, heap->max_size * 2 * sizeof(zval)); in spl_ptr_heap_insert()
245 memset(heap->elements + heap->max_size, 0, heap->max_size * sizeof(zval)); in spl_ptr_heap_insert()
251 heap->elements[i] = heap->elements[(i-1)/2]; in spl_ptr_heap_insert()
284 bottom = &heap->elements[--heap->count]; in spl_ptr_heap_delete_top()
289 if(j != heap->count && heap->cmp(&heap->elements[j+1], &heap->elements[j], cmp_userdata) > 0) { in spl_ptr_heap_delete_top()
295 heap->elements[i] = heap->elements[j]; in spl_ptr_heap_delete_top()
326 heap->ctor(&heap->elements[i]); in spl_ptr_heap_clone()
337 heap->dtor(&heap->elements[i]); in spl_ptr_heap_destroy()
381 intern->heap = spl_ptr_heap_clone(other->heap); in spl_heap_object_new_ex()
[all …]
/PHP-7.0/ext/spl/tests/
H A Dbug62073.phpt5 $heap = new SplMaxHeap();
6 $heap->insert(42);
7 foreach ($heap as $key => $value) {
13 $heap = new SplMaxHeap();
14 $heap->insert(42);
15 var_dump($heap->key());
16 var_dump($heap->current());
H A Dheap_001.phpt42 Exception: Can't extract from an empty heap
H A Dheap_002.phpt40 Exception: Can't extract from an empty heap
H A Dheap_004.phpt61 Exception: Heap is corrupted, heap properties are no longer ensured.
62 Exception: Heap is corrupted, heap properties are no longer ensured.
63 Exception: Heap is corrupted, heap properties are no longer ensured.
H A Dheap_008.phpt22 ["heap":"SplHeap":private]=>
H A Dheap_009.phpt21 $heap = new SplMinHeap;
22 testForException( $heap );
25 $heap = new SplMinHeap;
26 $heap->insert( 1 );
27 testForException( $heap );
30 $heap = new SplMaxHeap;
31 testForException( $heap );
34 $heap = new SplMaxHeap;
35 $heap->insert( 1 );
36 testForException( $heap );
[all …]
H A Dheap_012.phpt16 ["heap":"SplHeap":private]=>
H A Dheap_corruption.phpt37 $heap = new myHeap();
38 $heap->insert(1);
39 $heap->insert(2);
40 $heap->insert(3);
41 $heap->insert(4);
43 $heap->allow_compare = false;
45 var_dump($heap->isCorrupted());
48 $heap->extract();
55 $heap->top();
61 var_dump($heap->isCorrupted());
[all …]
H A Dheap_current_variation_001.phpt2 SPL: SplHeap::current - get current value from empty heap
17 $heap = new myHeap();
18 var_dump($heap->current());
H A Dheap_it_current_empty.phpt2 SPL: SplHeap current, check looping through an empty heap gives you no values

Completed in 130 milliseconds

12