Home
last modified time | relevance | path

Searched refs:buffer (Results 101 – 125 of 291) sorted by path

12345678910>>...12

/PHP-5.5/ext/oci8/tests/
H A Dbug27303_2.phpt7 // The bind buffer size edge cases seem to change each DB version.
H A Dbug27303_2_11gR1.phpt7 // The bind buffer size edge cases seem to change each DB version.
H A Dbug27303_4.phpt7 // The bind buffer size edge cases seem to change each DB version.
H A Dbug27303_4_11gR1.phpt7 // The bind buffer size edge cases seem to change each DB version.
/PHP-5.5/ext/openssl/
H A Dopenssl.c923 char buffer[MAXPATHLEN]; in php_openssl_load_rand_file() local
929 file = RAND_file_name(buffer, sizeof(buffer)); in php_openssl_load_rand_file()
952 char buffer[MAXPATHLEN]; in php_openssl_write_rand_file() local
962 file = RAND_file_name(buffer, sizeof(buffer)); in php_openssl_write_rand_file()
2279 memcpy(buffer, type, len); in php_openssl_make_REQ()
2280 buffer[len] = '\0'; in php_openssl_make_REQ()
2281 type = buffer; in php_openssl_make_REQ()
5137 unsigned char *buffer = NULL; in PHP_FUNCTION() local
5158 efree(buffer); in PHP_FUNCTION()
5166 efree(buffer); in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/pcre/pcrelib/
H A DChangeLog22 a buffer overflow if there was more than one group with the given name.
26 another group caused a buffer overflow. For example:
31 a buffer overflow at compile time. This bug was discovered by the LLVM
35 provoke a buffer overflow. This bug was discovered by the LLVM fuzzer.
37 7. Another buffer overflow bug involved duplicate named groups with a
48 10. There was a buffer overflow if pcre_exec() was called with an ovector of
75 assertion which itself contained a forward reference caused buffer
1769 8K to 20K. (The actual buffer used is three times this size.)
1778 example --buffer-size=50K.
2592 exec() might read past the end of the data buffer in UTF-8 mode.
[all …]
H A DNEWS222 for pcregrep to adjust its internal buffer size.
316 potential buffer overflow problem in pcre_compile() when run in UTF-8 mode. In
H A DREADME387 . The default size (in bytes) of the internal buffer used by pcregrep can be
H A Dpcre_get.c336 int stringnumber, char *buffer, int size) in pcre_copy_substring() argument
340 int stringnumber, PCRE_UCHAR16 *buffer, int size) in pcre_copy_substring()
344 int stringnumber, PCRE_UCHAR32 *buffer, int size) in pcre_copy_substring()
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_copy_substring()
354 buffer[yield] = 0; in pcre_copy_substring()
392 char *buffer, int size) in pcre_copy_named_substring() argument
397 PCRE_UCHAR16 *buffer, int size) in pcre_copy_named_substring()
402 PCRE_UCHAR32 *buffer, int size) in pcre_copy_named_substring()
408 return pcre_copy_substring(subject, ovector, stringcount, n, buffer, size); in pcre_copy_named_substring()
410 return pcre16_copy_substring(subject, ovector, stringcount, n, buffer, size); in pcre_copy_named_substring()
[all …]
H A Dpcre_ord2utf8.c68 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) in PRIV()
76 buffer += i; in PRIV()
79 *buffer-- = 0x80 | (cvalue & 0x3f); in PRIV()
82 *buffer = PRIV(utf8_table2)[i] | cvalue; in PRIV()
88 (void)(buffer); /* called when SUPPORT_UTF is not defined. */ in PRIV()
/PHP-5.5/ext/pcre/pcrelib/doc/
H A Dpcre.txt239 PCRE_UCHAR16 *buffer, int buffersize);
242 int stringcount, int stringnumber, PCRE_UCHAR16 *buffer,
385 The output buffer must be at least as long as the input.
570 PCRE_UCHAR32 *buffer, int buffersize);
573 int stringcount, int stringnumber, PCRE_UCHAR32 *buffer,
716 The output buffer must be at least as long as the input.
1620 char *buffer, int buffersize);
1623 int stringcount, int stringnumber, char *buffer,
3863 int stringcount, int stringnumber, char *buffer,
3956 char *buffer, int buffersize);
[all …]
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dgrepoutput639 pcregrep: line 4 of file ./testdata/grepinput3 is too long for the internal buffer
640 pcregrep: check the --buffer-size option
/PHP-5.5/ext/pdo/
H A Dpdo.c319 char buffer[65]; in php_pdo_int64_to_str() local
336 p = &buffer[sizeof(buffer)-1]; in php_pdo_int64_to_str()
H A Dpdo_sql_parser.re273 /* allocate output buffer */
400 /* allocate buffer for query with expanded binds, ptr is our writing pointer */
H A Dpdo_stmt.c2333 static int pdo_row_serialize(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_seriali…
2799 static int pdo_row_serialize(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_seriali… in pdo_row_serialize() argument
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_statement.c41 # define pdo_free_bound_result(res) efree(res.buffer)
193 efree(S->bound_result[i].buffer); in pdo_mysql_stmt_execute_prepared_libmysql()
248 S->bound_result[i].buffer = emalloc(S->bound_result[i].buffer_length); in pdo_mysql_stmt_execute_prepared_libmysql()
499 b->buffer = NULL; in pdo_mysql_stmt_param_hook()
557 b->buffer = Z_STRVAL_P(param->parameter); in pdo_mysql_stmt_param_hook()
564 b->buffer = &Z_LVAL_P(param->parameter); in pdo_mysql_stmt_param_hook()
569 b->buffer = &Z_DVAL_P(param->parameter); in pdo_mysql_stmt_param_hook()
740 *ptr = S->bound_result[colno].buffer;
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt27 /* buffer is only relevant with native PS */
H A Dpdo_mysql_get_attribute.phpt86 Maximum buffer size. Defaults to 1 MiB.
/PHP-5.5/ext/pdo_oci/tests/
H A Dpdo_oci_fread_1.phpt41 $buffer = fread($sh,1024);
42 echo '*'.$buffer.'*';
/PHP-5.5/ext/pdo_odbc/tests/
H A Dlong_columns.phpt58 …driver reads columns in blocks of 255 bytes and then reassembles those blocks into a single buffer.
/PHP-5.5/ext/pgsql/
H A Dpgsql.c4257 unsigned char *buffer, local
4266 buffer = (unsigned char *) emalloc(buflen); /* isn't NULL terminated */
4267 for (bp = buffer, sp = strtext; *sp != '\0'; bp++, sp++)
4328 buffer = erealloc(buffer, buflen+1);
4329 buffer[buflen] = '\0';
4332 return buffer;
/PHP-5.5/ext/phar/
H A Dphar.c506 (buffer) += 4
510 (buffer) += 2
514 buffer += 4
517 buffer += 2
675 buffer = b32;
681 if ((*buffer == ' ' || *buffer == '\n') && *(buffer + 1) == '?' && *(buffer + 2) == '>') {
707 buffer = b32;
738 buffer += 2;
1037 buffer += len;
1122 buffer += len;
[all …]
H A Dphar_internal.h606 int phar_parse_metadata(char **buffer, zval **metadata, php_uint32 zip_metadata_len TSRMLS_DC);
H A Dtar.c296 # define PHAR_GET_32(buffer) \ in phar_parse_tarfile() argument
297 (((((unsigned char*)(buffer))[3]) << 24) \ in phar_parse_tarfile()
298 | ((((unsigned char*)(buffer))[2]) << 16) \ in phar_parse_tarfile()
299 | ((((unsigned char*)(buffer))[1]) << 8) \ in phar_parse_tarfile()
300 | (((unsigned char*)(buffer))[0])) in phar_parse_tarfile()
302 # define PHAR_GET_32(buffer) (php_uint32) *(buffer) in phar_parse_tarfile() argument
1217 # define PHAR_SET_32(var, buffer) \ in phar_tar_flush() argument
1219 | ((((unsigned char*)&(buffer))[2]) << 16) \ in phar_tar_flush()
1220 | ((((unsigned char*)&(buffer))[1]) << 8) \ in phar_tar_flush()
1221 | (((unsigned char*)&(buffer))[0])) in phar_tar_flush()
[all …]
/PHP-5.5/ext/phar/tests/
H A D010.phpt2 Phar::mapPhar buffer overrun

Completed in 118 milliseconds

12345678910>>...12