Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 343) sorted by path

12345678910>>...14

/php-src/.github/workflows/
H A Dnightly.yml480 # Test causes a heap-buffer-overflow but I cannot reproduce it locally...
/php-src/Zend/tests/
H A Dbug64960.phpt32 Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %sbug649…
H A Dbug70430.phpt2 Bug #70430: Stack buffer overflow in zend_language_parser()
H A Dbug79836.phpt8 ob_start(function ($buffer) use (&$c, &$counter) {
H A Dgc_023.phpt2 GC 023: Root buffer overflow (automatic collection)
H A Dgc_043.phpt2 GC buffer shouldn't get reused when removing nested data
H A Dgh11016.phpt2 GH-11016 (Heap buffer overflow in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER)
H A Dgh13569.phpt2 GH-13569: GC buffer grows up to GC_MAX_BUF_SIZE when scanning WeakMaps
H A Dgh13670_002.phpt44 // Add potential garbage to buffer
H A Dgh13670_003.phpt44 // Add potential garbage to buffer
/php-src/Zend/tests/closures/
H A Dclosure_from_callable_gc.phpt21 $fn2 = $fn; unset($fn2); // Add to root buffer.
/php-src/Zend/tests/fibers/
H A Dout-of-memory-in-fiber.phpt15 $buffer = '';
17 $buffer .= str_repeat('.', 1 << 10);
H A Dout-of-memory-in-nested-fiber.phpt16 $buffer = '';
18 $buffer .= str_repeat('.', 1 << 10);
/php-src/Zend/tests/weakrefs/
H A Dgh10043-003.phpt22 // $obj is first in the root buffer
H A Dgh10043-004.phpt22 // $map is first in the root buffer
/php-src/Zend/
H A Dzend.h202 int (*serialize)(zval *object, unsigned char **buffer, size_t *buf_len, zend_serialize_data *data);
H A Dzend_call_stack.c174 char buffer[4096]; in zend_call_stack_get_linux_proc_maps() local
175 uintptr_t addr_on_stack = (uintptr_t)&buffer; in zend_call_stack_get_linux_proc_maps()
216 …while (fgets(buffer, sizeof(buffer), f) && sscanf(buffer, "%" SCNxPTR "-%" SCNxPTR, &start, &end) … in zend_call_stack_get_linux_proc_maps()
608 char buffer[4096]; in zend_call_stack_get_netbsd_vm() local
609 uintptr_t addr_on_stack = (uintptr_t)&buffer; in zend_call_stack_get_netbsd_vm()
689 char buffer[4096]; in zend_call_stack_get_solaris_proc_maps() local
690 uintptr_t addr_on_stack = (uintptr_t)&buffer; in zend_call_stack_get_solaris_proc_maps()
H A Dzend_interfaces.c401 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serial… in zend_user_serialize() argument
419 *buffer = (unsigned char*)estrndup(Z_STRVAL(retval), Z_STRLEN(retval)); in zend_user_serialize()
H A Dzend_interfaces.h74 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serial…
H A Dzend_language_parser.y1627 char buffer[120]; variable
1678 snprintf(buffer, sizeof(buffer), "token \"%.*s\"", (int)toktype_len-2, toktype+1);
1679 yystpcpy(yyres, buffer);
1692 snprintf(buffer, sizeof(buffer), "character 0x%02hhX", *tokcontent);
1693 yystpcpy(yyres, buffer);
1728 snprintf(buffer, sizeof(buffer), "%.*s \"%.*s...\"", (int)toktype_len, toktype, 30, tokcontent);
1729 yystpcpy(yyres, buffer);
1735 …snprintf(buffer, sizeof(buffer), "%.*s \"%.*s\"", (int)toktype_len, toktype, (int)tokcontent_len, …
1736 yystpcpy(yyres, buffer);
/php-src/build/
H A Dlibtool.m4815 # (any single argument exceeding 2000 bytes causes a buffer overrun
H A Dphp.m41359 ssize_t reader(void *cookie, char *buffer, size_t size)
1361 ssize_t writer(void *cookie, const char *buffer, size_t size)
2125 CRYPTD buffer;
2126 crypt_r("passwd", "hash", &buffer);
2134 struct crypt_data buffer;
2135 crypt_r("passwd", "hash", &buffer);
2147 struct crypt_data buffer;
2148 crypt_r("passwd", "hash", &buffer);
2157 struct crypt_data buffer;
2158 crypt_r("passwd", "hash", &buffer);
/php-src/docs-old/
H A Doutput-api.md33 Flushing one output buffer:
41 Cleaning one output buffer:
49 Discarding one output buffer:
57 Stopping (and dropping) one output buffer:
H A Dstreams.md116 If you want to read the contents of a stream into an allocated memory buffer,
124 This function will set buf to the address of the buffer that it allocated, which
126 remaining on the stream if you set maxlen to `PHP_STREAM_COPY_ALL`. The buffer
247 itself, which holds some state information (and possibly a buffer) and a
297 * `bufsize` is the size of the buffer to use - if 0, then buffering at the
379 such as coping with a buffer size too small to hold the data,
/php-src/docs/source/core/data-structures/
H A Dreference-counting.rst193 cycle, and run when this buffer becomes full. It is also possible to invoke it explicitly by calling
212 buffer. Only arrays and objects may actually be involved in reference cycles.

Completed in 80 milliseconds

12345678910>>...14