/PHP-5.5/ |
H A D | .gdbinit | 160 dumps the current execution stack. usage: dump_bt executor_globals.current_execute_data
|
H A D | NEWS | 256 . Fixed bug #69793 (Remotely triggerable stack exhaustion via recursive 331 . Fixed bug #69923 (Buffer overflow and stack smashing error in 1611 . Fixed bug #65564 (stack-buffer-overflow in DateTimeZone stuff caught 1830 were merged into a single stack. The stack size needed for op_array 1832 all the stack push operatins don't require checks for stack overflow 3260 to limit the amount of stack frames returned. (Sebastian, Patrick) 4288 . Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938) 4969 - Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan 5764 . Improved engine stack implementation for better performance and stability. 6398 - Fixed bug #47991 (SSL streams fail if error stack contains items). (Mikko) [all …]
|
H A D | README.PARAMETER_PARSING_API | 36 reading the arguments from the stack, it receives a single zval to convert
|
H A D | UPGRADING.INTERNALS | 41 corresponding stack space is preallocated together with execute_data. 42 ZEND_SEND* and ZEND_DO_FCALL* don't need to check for stack overflow
|
/PHP-5.5/Zend/ |
H A D | OBJECTS2_HOWTO | 186 call_method - calls the method (parameters should be put on stack like
|
H A D | zend.c | 1000 #define SAVE_STACK(stack) do { \ argument 1001 if (CG(stack).top) { \ 1002 memcpy(&stack, &CG(stack), sizeof(zend_stack)); \ 1003 CG(stack).top = CG(stack).max = 0; \ 1004 CG(stack).elements = NULL; \ 1006 stack.top = 0; \ 1010 #define RESTORE_STACK(stack) do { \ argument 1011 if (stack.top) { \ 1012 zend_stack_destroy(&CG(stack)); \ 1013 memcpy(&CG(stack), &stack, sizeof(zend_stack)); \
|
H A D | zend_execute.h | 165 #define ZEND_VM_STACK_ELEMETS(stack) \ argument 166 ((void**)(((char*)(stack)) + ZEND_MM_ALIGNED_SIZE(sizeof(struct _zend_vm_stack)))) 192 zend_vm_stack stack = EG(argument_stack); in zend_vm_stack_destroy() local 194 while (stack != NULL) { in zend_vm_stack_destroy() 195 zend_vm_stack p = stack->prev; in zend_vm_stack_destroy() 196 efree(stack); in zend_vm_stack_destroy() 197 stack = p; in zend_vm_stack_destroy()
|
H A D | zend_generators.c | 80 void **ptr = generator->stack->top - 1; in zend_generator_cleanup_unfinished_execution() 162 efree(generator->stack); in zend_generator_close() 314 generator->stack = EG(argument_stack); in zend_generator_create_zval() 367 EG(argument_stack) = generator->stack; in zend_generator_resume()
|
H A D | zend_generators.h | 45 zend_vm_stack stack; member
|
H A D | zend_ptr_stack.c | 30 stack->top_element = stack->elements = NULL; in zend_ptr_stack_init_ex() 31 stack->top = stack->max = 0; in zend_ptr_stack_init_ex() 51 stack->top++; in zend_ptr_stack_n_push() 68 stack->top--; in zend_ptr_stack_n_pop() 79 pefree(stack->elements, stack->persistent); in zend_ptr_stack_destroy() 86 int i = stack->top; in zend_ptr_stack_apply() 98 int i = stack->top; in zend_ptr_stack_clean() 101 pefree(stack->elements[i], stack->persistent); in zend_ptr_stack_clean() 104 stack->top = 0; in zend_ptr_stack_clean() 105 stack->top_element = stack->elements; in zend_ptr_stack_clean() [all …]
|
H A D | zend_ptr_stack.h | 47 if (stack->top+count > stack->max) { \ in END_EXTERN_C() 51 } while (stack->top+count > stack->max); \ in END_EXTERN_C() 52 …stack->elements = (void **) perealloc(stack->elements, (sizeof(void *) * (stack->max)), stack->per… in END_EXTERN_C() 53 stack->top_element = stack->elements+stack->top; \ in END_EXTERN_C() 65 *(stack->top_element++) = a; 66 *(stack->top_element++) = b; 90 stack->top -= 3; in zend_ptr_stack_3_pop() 97 stack->top -= 2; in zend_ptr_stack_2_pop() 104 stack->top++; in zend_ptr_stack_push() 110 stack->top--; in zend_ptr_stack_pop() [all …]
|
H A D | zend_stack.c | 27 stack->top = 0; in zend_stack_init() 28 stack->max = 0; in zend_stack_init() 35 if (stack->top >= stack->max) { /* we need to allocate more memory */ in zend_stack_push() 36 stack->elements = (void **) erealloc(stack->elements, in zend_stack_push() 42 stack->elements[stack->top] = (void *) emalloc(size); in zend_stack_push() 43 memcpy(stack->elements[stack->top], element, size); in zend_stack_push() 44 return stack->top++; in zend_stack_push() 50 if (stack->top > 0) { in zend_stack_top() 51 *element = stack->elements[stack->top - 1]; in zend_stack_top() 63 efree(stack->elements[--stack->top]); in zend_stack_del_top() [all …]
|
H A D | zend_stack.h | 34 ZEND_API int zend_stack_init(zend_stack *stack); 35 ZEND_API int zend_stack_push(zend_stack *stack, const void *element, int size); 36 ZEND_API int zend_stack_top(const zend_stack *stack, void **element); 37 ZEND_API int zend_stack_del_top(zend_stack *stack); 38 ZEND_API int zend_stack_int_top(const zend_stack *stack); 39 ZEND_API int zend_stack_is_empty(const zend_stack *stack); 40 ZEND_API int zend_stack_destroy(zend_stack *stack); 41 ZEND_API void **zend_stack_base(const zend_stack *stack); 42 ZEND_API int zend_stack_count(const zend_stack *stack); 43 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)); [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug36214.phpt | 8 public $stack = array(); 11 $this->stack[$name] = $var;return; 15 return $this->stack[$name];
|
/PHP-5.5/Zend/tests/generators/ |
H A D | backtrace.phpt | 2 Printing the stack trace in a generator
|
/PHP-5.5/ext/fileinfo/tests/ |
H A D | magic | 4385 # From: Serge van den Boom <svdb@stack.nl> 8080 # byte 7: highest byte of the kernel stack pointer, always 0xfe 9148 # I think the 500 series was the old stack-based machines, running a 11959 #>65 string STAK (HyperCard stack) 18528 >0x1e leshort &0x8 fixed-stack
|
/PHP-5.5/ext/filter/tests/ |
H A D | bug52929.phpt | 12 // An invalid address likely to crash PHP due to stack exhaustion if it goes to
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd.c | 1865 if (sp<stack+FILL_MAX && Y+(DY)>=0 && Y+(DY)<wy2) \ 1883 struct seg *stack = NULL; in gdImageFill() local 1924 stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1); in gdImageFill() 1925 sp = stack; in gdImageFill() 1931 while (sp>stack) { in gdImageFill() 1962 efree(stack); in gdImageFill() 1974 struct seg *stack; in _gdImageFillTiled() local 1991 stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1); in _gdImageFillTiled() 1992 sp = stack; in _gdImageFillTiled() 2000 while (sp>stack) { in _gdImageFillTiled() [all …]
|
H A D | gd_gif_in.c | 89 int stack[STACK_SIZE], *sp; member 451 sd->sp = sd->stack; in LWZReadByte_() 463 if (sd->sp > sd->stack) in LWZReadByte_() 477 sd->sp = sd->stack; in LWZReadByte_() 497 if (sd->sp == (sd->stack + STACK_SIZE)) { in LWZReadByte_() 508 if (sd->sp == (sd->stack + STACK_SIZE)) { in LWZReadByte_() 534 if (sd->sp > sd->stack) in LWZReadByte_()
|
/PHP-5.5/ext/imap/tests/ |
H A D | imap_alerts_error.phpt | 10 …load or since the last imap_alerts() call, whichever came last. The alert stack is cleared after i…
|
H A D | imap_fetch_overview_variation2.phpt | 110 // clear the error stack
|
H A D | imap_fetch_overview_variation5.phpt | 42 // clear error stack
|
H A D | imap_fetchheader_variation5.phpt | 37 // clear error stack
|
/PHP-5.5/ext/json/ |
H A D | JSON_parser.c | 209 jp->stack[jp->top] = mode; in push() 221 if (jp->top < 0 || jp->stack[jp->top] != mode) { in pop() 249 jp->stack = (int*)ecalloc(depth, sizeof(int)); in new_JSON_parser() 265 efree((void*)jp->stack); in free_JSON_parser() 396 int up_mode = jp->stack[up]; in attach_zval() 545 if (type != -1 && jp->stack[jp->top] == MODE_OBJECT) in parse_JSON_ex() 573 if (type != -1 && jp->stack[jp->top] == MODE_ARRAY) in parse_JSON_ex() 655 switch (jp->stack[jp->top]) { in parse_JSON_ex() 686 (jp->stack[jp->top] == MODE_OBJECT || in parse_JSON_ex() 687 jp->stack[jp->top] == MODE_ARRAY)) in parse_JSON_ex() [all …]
|
H A D | JSON_parser.h | 17 int* stack; member
|