Commit Graph

9867 Commits

Author SHA1 Message Date
Thies C. Arntzen
d30590369a make sure all string from zlib are \0 terminated.
change one realloc to erealloc (though this code is never reached IMHO)
add regression tests
2001-07-13 15:48:37 +00:00
Thies C. Arntzen
11eca11dca fixed #12091. added \0 bytes at EOS in a few cases. 2001-07-13 15:19:17 +00:00
Thies C. Arntzen
ba17fadbfb @ - Fixed crash in iptcparse() if the supplied data was bogus. (Thies) 2001-07-13 14:35:05 +00:00
Thies C. Arntzen
742c5c8e03 . 2001-07-13 12:20:13 +00:00
Zeev Suraski
f63367bf16 layout 2001-07-13 12:08:32 +00:00
Thies C. Arntzen
7b7e72d1d2 the resource-lists are now destroyed backwards. this will make sure that
resources get destroyed in the opposite order they were created and thereby
db-cursors will always be released before their corresponding connection etc.
this sould not break anything!
2001-07-13 12:05:47 +00:00
Thies C. Arntzen
249c010d92 make regession test of session work without the ugly hack in session.c
and removed that ugly hack.
2001-07-13 10:32:37 +00:00
Rasmus Lerdorf
65c8679b26 Fix for bug #12081
@ - Fix return value for a failed snmpset() - now returns false  (Rasmus)
2001-07-13 05:21:37 +00:00
Rasmus Lerdorf
60c8e4409f Add port support to snmp functions
@ - Add hostname:port support to snmp functions
@   (nbougues@axialys.net, Rasmus)
2001-07-13 05:09:40 +00:00
Rui Hirokawa
86ae8add13 added an option to support utf-8 in pcre. 2001-07-13 03:37:18 +00:00
John Donagher
84cc39ea5f Quote grep patterns to avoid shell interpretation 2001-07-13 01:46:31 +00:00
Frank M. Kromann
cbfe23b99b Fixing bug when using select unique from <table>
The value was not returned to the script
2001-07-12 22:43:25 +00:00
b1cce8f4bd ChangeLog update 2001-07-12 22:10:30 +00:00
Tomas V.V.Cox
51c54c45bd added DB_PARAM_MISC constant to use in prepare/execute 2001-07-12 11:14:12 +00:00
Sascha Schumann
87d99aa93c Allow extensions to define custom prealloc sizes 2001-07-11 23:13:55 +00:00
Sterling Hughes
fc729b7cd5 Herr sascha's reccomendation. 2001-07-11 23:03:24 +00:00
1e9649b6db ChangeLog update 2001-07-11 22:10:33 +00:00
Sterling Hughes
f76c42688d Return proper length, thanks for excellent reports by Colin. 2001-07-11 18:10:52 +00:00
Zeev Suraski
87e3924379 Remove the last couple of bogus inlines 2001-07-11 17:18:22 +00:00
Zeev Suraski
66c8b08efa Remove unreferenced variable 2001-07-11 17:10:13 +00:00
Andi Gutmans
b98acd61f1 - Move inline_zend_hash_func() to header file 2001-07-11 16:16:08 +00:00
Thies C. Arntzen
5676e5ad05 use ZVAL_* macros 2001-07-11 15:27:37 +00:00
Thies C. Arntzen
bbe83e4f29 gzencode() now zero-terminates its buffer. 2001-07-11 15:26:42 +00:00
Daniel Beulshausen
223c0a2f7d fix handle dup. 2001-07-11 15:10:56 +00:00
Hartmut Holzgraefe
319149fd8b workaround to make ext/session well behaved with 'make test' and E_ALL 2001-07-11 13:46:11 +00:00
Hartmut Holzgraefe
e15d0193d9 cleanup in preparation for session_readonly() 2001-07-11 13:27:27 +00:00
Hartmut Holzgraefe
800b863310 once again, make test would not work right with error_reporting=E_ALL 2001-07-11 13:19:07 +00:00
Thies C. Arntzen
0ef0f8e32b ZVAL_BOOL(v,0) -> ZVAL_FALSE(v) 2001-07-11 12:42:25 +00:00
Thies C. Arntzen
07ea068454 fixed ZVAL_FALSE and ZVAL_TRUE 2001-07-11 12:40:29 +00:00
Stanislav Malyshev
6cf5e7f9f7 No hashpjw anymore, but we have zend_hash_func 2001-07-11 12:20:07 +00:00
Stanislav Malyshev
adc98200d6 More correct pseudo-fix
# This is not really a fix. This thing is still broken. I will think on
# how to really fix it. Any suggestion is *welcome*.
2001-07-11 11:45:05 +00:00
Zeev Suraski
66d94bc655 Nuke zval_reset 2001-07-11 11:39:10 +00:00
Zeev Suraski
4cc86259dd Get rid of ZVAL_RESET... 2001-07-11 11:35:11 +00:00
Tomas V.V.Cox
dc60b4d466 added LOCK/UNLOCK to mainps queries (reported by Erik Hjortsberg) 2001-07-11 11:03:27 +00:00
Zeev Suraski
d70ce7be27 var_reset -> ZVAL_RESET 2001-07-11 09:39:09 +00:00
Zeev Suraski
ed542331b7 Get rid of some inlines 2001-07-11 09:33:41 +00:00
Shane Caraveo
ff4dfc56f2 prevent php from crashing when serializing circular data.
This script produced the crash.
<?
$hash["test_key"] = "test_value";
$hash["hash_key"] = &$hash;
echo serialize($hash);
?>
2001-07-11 05:57:18 +00:00
Andrei Zmievski
b5dfb0d540 Wrap lines. 2001-07-11 04:13:34 +00:00
Andrei Zmievski
44de304a5f Modified to work with the new parameter parsing API as a demonstration. 2001-07-11 03:58:51 +00:00
55f4d0011b ChangeLog update 2001-07-11 01:20:26 +00:00
Sterling Hughes
dd3a7680ca fix. 2001-07-11 01:06:09 +00:00
Frank M. Kromann
94e6db966b changed return value from fbsql_query to be booloan 2001-07-10 23:39:39 +00:00
Frank M. Kromann
ad8150b3a9 Fixing return value from fbsql_query after a DELETE FROM with success. 2001-07-10 22:34:24 +00:00
Tomas V.V.Cox
2bf0a0e5af added NEED_MORE_DATA error message to $errorMessages 2001-07-10 21:49:51 +00:00
Andi Gutmans
2d9c29a31a - Nuke fprintf() 2001-07-10 20:40:56 +00:00
Andi Gutmans
4b54140a35 - Commit patch which checks for an include file in the calling scripts'
current working directory if everything else fails (include_path).
- Right now this also effects things like opening php.ini. It'll now always
  check in the current working directory for php.ini. I think this doesn't
  screw up todays behavior.
2001-07-10 20:38:39 +00:00
Sterling Hughes
203ea6c51d # I think i am quite stupid. 2001-07-10 20:31:49 +00:00
Andi Gutmans
2f8fa8cf21 - Merge faster hash implementation.
- The hash function parameter in hash_init(...) is not used anymore.
- It should be removed but it is "to be decided" if we want to do that now
- or in a major version as it means changing MANY places and third party
- modules might stop working.
2001-07-10 20:31:42 +00:00
Sterling Hughes
5e4e376571 If the transfer fails, still free the buffer if it exists. 2001-07-10 20:09:56 +00:00
Zeev Suraski
fa684c5bd4 Whitespace 2001-07-10 18:49:47 +00:00