[PHP-CVS] com php-src: Fix return types of password API helper functions.: NEWS ext/standard/password.c

2013-08-21 Thread Anthony Ferrara
Commit:83e3466898abcde99d0bd0b3dadc43b416e5cde6 Author:Anthony Ferrara Wed, 21 Aug 2013 12:10:40 -0400 Parents: 4283f75c347a105e53ae38fc96e614671df53f1b Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Fix #64745 hash_pbkdf2 truncation issue: NEWS ext/hash/hash.c ext/hash/tests/bug64745.phpt

2013-05-28 Thread Anthony Ferrara
Commit:540a5a52e89fce6da19d6f79dd1eda587a25b396 Author:Anthony Ferrara Tue, 28 May 2013 15:30:45 -0400 Parents: 2f01e06786c6f4b2479fdb728bd26062d07208e0 Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Notice if CURLOPT_SSL_VERIFYHOST is set to true: ext/curl/interface.c ext/curl/tests/bug63363.phpt

2012-10-25 Thread Anthony Ferrara
Commit:f68f31f1211f4f3fe8c692269e916358110fa73d Author:John Jawed (JJ) Wed, 24 Oct 2012 21:47:47 -0700 Committer: Anthony Ferrara Thu, 25 Oct 2012 16:00:02 -0400 Parents: 0737be7e7baf1fece1683ca9f33064733d8b3514 Branches: PHP-5.4 master Link: http://git.php.net

[PHP-CVS] com php-src: Notice if CURLOPT_SSL_VERIFYHOST is set to true: ext/curl/interface.c ext/curl/tests/bug63363.phpt

2012-10-25 Thread Anthony Ferrara
Commit:3b85d09de7347b16024530579e46f89d587a2e18 Author:John Jawed (JJ) Wed, 24 Oct 2012 21:47:47 -0700 Parents: 7b4a53e26344ede3534c6ce7ea5973cd4082c90e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3b85d09de7347b16024530579e46f89d587a2e18 Log

[PHP-CVS] com php-src: News entry for CURL notice addition: NEWS

2012-10-25 Thread Anthony Ferrara
Commit:c4ce96d073da66c04ebe1c74f38138d33a5e6fd4 Author:Anthony Ferrara Thu, 25 Oct 2012 16:04:56 -0400 Parents: f68f31f1211f4f3fe8c692269e916358110fa73d Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

Re: [PHP-CVS] com php-src: Really fix leaks, add test cases to prove it...: ext/standard/password.c ext/standard/tests/password/password_bcrypt_errors.phpt ext/standard/tests/password/password_hash_er

2012-10-16 Thread Anthony Ferrara
Nuno, On Tue, Oct 16, 2012 at 2:14 PM, Nuno Lopes wrote: > Hi, > > + case IS_BOOL: >> + case IS_NULL: >> case IS_RESOURCE: >> case IS_ARRAY: >> default: >> > > it doesn't make sense to have those cases and the default. Please remove > all those useless cases. I see it as self-documentat

[PHP-CVS] com php-src: Base structure for passsword_create and password_make_salt: ext/standard/basic_functions.c ext/standard/config.m4 ext/standard/config.w32 ext/standard/password.c ext/standard/ph

2012-10-16 Thread Anthony Ferrara
Commit:c77f2c29585f97bd9dad533b9d2bc8334de34f1b Author:Anthony Ferrara Sun, 24 Jun 2012 22:44:43 -0400 Parents: d68b614b09b984e915db50b72430db4e4731480c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c77f2c29585f97bd9dad533b9d2bc8334de34f1b

[PHP-CVS] com php-src: Actually complete password_create(): ext/standard/password.c ext/standard/php_password.h

2012-10-16 Thread Anthony Ferrara
Commit:7e41980fe4972e097e178c034f92920c9c63086c Author:Anthony Ferrara Sun, 24 Jun 2012 23:25:18 -0400 Parents: c77f2c29585f97bd9dad533b9d2bc8334de34f1b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7e41980fe4972e097e178c034f92920c9c63086c

[PHP-CVS] com php-src: Implement password_verify: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:657402832b7884f52bf07b2e6f704510395fd413 Author:Anthony Ferrara Sun, 24 Jun 2012 23:35:26 -0400 Parents: 7e41980fe4972e097e178c034f92920c9c63086c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=657402832b7884f52bf07b2e6f704510395fd413

[PHP-CVS] com php-src: Fix memory leak on branch: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:f7097d99ffedc6bd0965542454b4ac86e4b5c914 Author:Anthony Ferrara Sun, 24 Jun 2012 23:36:09 -0400 Parents: 657402832b7884f52bf07b2e6f704510395fd413 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f7097d99ffedc6bd0965542454b4ac86e4b5c914

[PHP-CVS] com php-src: Basic random generator added to make_salt: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:18d3bd9481c470d241c492eb39a93bd071a77c4e Author:Anthony Ferrara Mon, 25 Jun 2012 08:15:17 -0400 Parents: f7097d99ffedc6bd0965542454b4ac86e4b5c914 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=18d3bd9481c470d241c492eb39a93bd071a77c4e

[PHP-CVS] com php-src: More error checking, and some cleaning up for password.c: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:618f2629567ca3a3d1817ca9c4c62339fb5fb886 Author:Anthony Ferrara Mon, 25 Jun 2012 08:50:39 -0400 Parents: 18d3bd9481c470d241c492eb39a93bd071a77c4e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=618f2629567ca3a3d1817ca9c4c62339fb5fb886

[PHP-CVS] com php-src: Implement openssl support for make_salt: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:41d7374ea4598000fd626c0d8cd4736aec6357bf Author:Anthony Ferrara Mon, 25 Jun 2012 11:37:48 -0400 Parents: 618f2629567ca3a3d1817ca9c4c62339fb5fb886 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=41d7374ea4598000fd626c0d8cd4736aec6357bf

[PHP-CVS] com php-src: Refactor salt generation, rename password_create to password_hash: ext/standard/basic_functions.c ext/standard/password.c ext/standard/php_password.h

2012-10-16 Thread Anthony Ferrara
Commit:2d4b7cb653efc3f52ca907f48b1c828632df5e41 Author:Anthony Ferrara Mon, 25 Jun 2012 21:22:16 -0400 Parents: 41d7374ea4598000fd626c0d8cd4736aec6357bf Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2d4b7cb653efc3f52ca907f48b1c828632df5e41

[PHP-CVS] com php-src: Add tests for password hashing: ext/standard/tests/password/password_bcrypt_errors.phpt ext/standard/tests/password/password_hash.phpt ext/standard/tests/password/password_hash_

2012-10-16 Thread Anthony Ferrara
Commit:e505316aeba0fbb52cd21ff84af784a9d3e2b49a Author:Anthony Ferrara Tue, 26 Jun 2012 22:05:25 -0400 Parents: 232da90388de2a3ba4ad430d281469498e88aca2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e505316aeba0fbb52cd21ff84af784a9d3e2b49a

[PHP-CVS] com php-src: Implement php.ini setting password.bcrypt_cost: ext/standard/basic_functions.c ext/standard/password.c ext/standard/php_password.h main/main.c php.ini-development php.ini-produc

2012-10-16 Thread Anthony Ferrara
Commit:232da90388de2a3ba4ad430d281469498e88aca2 Author:Anthony Ferrara Tue, 26 Jun 2012 21:15:56 -0400 Parents: 2d4b7cb653efc3f52ca907f48b1c828632df5e41 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=232da90388de2a3ba4ad430d281469498e88aca2

[PHP-CVS] com php-src: Add tests and error checking for large salt requested values to prevent overflow on allocation: ext/standard/password.c ext/standard/tests/password/password_make_salt_error.phpt

2012-10-16 Thread Anthony Ferrara
Commit:5f44be03af7733c2618d980e77426572fb0148df Author:Anthony Ferrara Tue, 26 Jun 2012 23:09:08 -0400 Parents: 2b9591f11f2573f8d9032477b7ad49c6cf92988c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5f44be03af7733c2618d980e77426572fb0148df

[PHP-CVS] com php-src: Update tests to check ini setting: ext/standard/tests/password/password_hash.phpt

2012-10-16 Thread Anthony Ferrara
Commit:2b9591f11f2573f8d9032477b7ad49c6cf92988c Author:Anthony Ferrara Tue, 26 Jun 2012 22:13:51 -0400 Parents: e505316aeba0fbb52cd21ff84af784a9d3e2b49a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2b9591f11f2573f8d9032477b7ad49c6cf92988c

[PHP-CVS] com php-src: Fix formatting issues in password.c: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:0dd2f16b148f4054d65645b9cf971fe08824d78d Author:Anthony Ferrara Wed, 27 Jun 2012 11:04:41 -0400 Parents: 5f44be03af7733c2618d980e77426572fb0148df Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0dd2f16b148f4054d65645b9cf971fe08824d78d

[PHP-CVS] com php-src: Refactor crypt to use an external working function: ext/standard/crypt.c ext/standard/php_crypt.h

2012-10-16 Thread Anthony Ferrara
Commit:6bb3865a235d437d91df1940b0caad6995b69d4c Author:Anthony Ferrara Thu, 28 Jun 2012 14:44:04 -0400 Parents: 0dd2f16b148f4054d65645b9cf971fe08824d78d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6bb3865a235d437d91df1940b0caad6995b69d4c

[PHP-CVS] com php-src: Refactor password.c a bit, add different error checking: ext/standard/password.c ext/standard/tests/password/password_bcrypt_errors.phpt ext/standard/tests/password/password_has

2012-10-16 Thread Anthony Ferrara
Commit:da3d8bf514e61a486065b0bf335b4657f20e6b66 Author:Anthony Ferrara Thu, 28 Jun 2012 15:29:40 -0400 Parents: 6bb3865a235d437d91df1940b0caad6995b69d4c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=da3d8bf514e61a486065b0bf335b4657f20e6b66

[PHP-CVS] com php-src: More refactoring of crypt into php_crypt, and fixing memory allocation: ext/standard/crypt.c ext/standard/password.c ext/standard/php_crypt.h

2012-10-16 Thread Anthony Ferrara
Commit:9c1445c6bcee99dbe1eeb9eb8eb6cd626ca72a9c Author:Anthony Ferrara Fri, 29 Jun 2012 11:32:25 -0400 Parents: 9e18e578f0e7f30c2d73ae38620b5fd228ac21eb Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9c1445c6bcee99dbe1eeb9eb8eb6cd626ca72a9c

[PHP-CVS] com php-src: Update password.c to use safe_emalloc in sensitive places: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:f53112fdcf746ef73660059e72f8798d0108acac Author:Anthony Ferrara Fri, 29 Jun 2012 11:37:39 -0400 Parents: 9c1445c6bcee99dbe1eeb9eb8eb6cd626ca72a9c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f53112fdcf746ef73660059e72f8798d0108acac

[PHP-CVS] com php-src: Remove php.ini setting for default bcrypt cost: ext/standard/password.c ext/standard/php_password.h ext/standard/tests/password/password_hash.phpt php.ini-development php.ini-pr

2012-10-16 Thread Anthony Ferrara
Commit:6cc3c65fbf06da075934c89e470fa776d4d968fa Author:Anthony Ferrara Tue, 3 Jul 2012 07:33:55 -0400 Parents: f53112fdcf746ef73660059e72f8798d0108acac Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6cc3c65fbf06da075934c89e470fa776d4d968fa Log

[PHP-CVS] com php-src: Some more refactoring, make algo no longer optional: ext/standard/basic_functions.c ext/standard/password.c ext/standard/php_password.h ext/standard/tests/password/password_hash

2012-10-16 Thread Anthony Ferrara
Commit:6943f2ab7f729d26281f9358dba27890d07dd24d Author:Anthony Ferrara Tue, 3 Jul 2012 08:24:31 -0400 Parents: 6cc3c65fbf06da075934c89e470fa776d4d968fa Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6943f2ab7f729d26281f9358dba27890d07dd24d Log

[PHP-CVS] com php-src: Update signature info for changing algo to an ordinal: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:886527de56ecdd412a80a2901b8a0e3b622f037c Author:Anthony Ferrara Tue, 3 Jul 2012 08:26:50 -0400 Parents: 6943f2ab7f729d26281f9358dba27890d07dd24d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=886527de56ecdd412a80a2901b8a0e3b622f037c Log

[PHP-CVS] com php-src: Fix issue with int vs long parameter: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:db86d54446c461eab518225645889abc509db034 Author:Anthony Ferrara Thu, 5 Jul 2012 17:31:40 -0400 Parents: 5160dc11cd9d0e97eb59138f4639e5af0584f370 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=db86d54446c461eab518225645889abc509db034 Log

[PHP-CVS] com php-src: Implement password_needs_rehash() function: ext/standard/basic_functions.c ext/standard/password.c ext/standard/php_password.h

2012-10-16 Thread Anthony Ferrara
Commit:5160dc11cd9d0e97eb59138f4639e5af0584f370 Author:Anthony Ferrara Thu, 5 Jul 2012 16:22:49 -0400 Parents: 886527de56ecdd412a80a2901b8a0e3b622f037c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5160dc11cd9d0e97eb59138f4639e5af0584f370 Log

[PHP-CVS] com php-src: Implement password_get_info() function: ext/standard/basic_functions.c ext/standard/password.c ext/standard/php_password.h

2012-10-16 Thread Anthony Ferrara
Commit:ee7e7998410c8fd5bd2183b1af375622f0ca8e02 Author:Anthony Ferrara Thu, 5 Jul 2012 17:46:33 -0400 Parents: db86d54446c461eab518225645889abc509db034 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ee7e7998410c8fd5bd2183b1af375622f0ca8e02 Log

[PHP-CVS] com php-src: Cleanup whitespace issues: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:9d3630b5dc8fa066dc4212ead2fffc8635f5bc0a Author:Anthony Ferrara Thu, 5 Jul 2012 17:58:19 -0400 Parents: ee7e7998410c8fd5bd2183b1af375622f0ca8e02 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9d3630b5dc8fa066dc4212ead2fffc8635f5bc0a Log

[PHP-CVS] com php-src: Merge remote branch 'upstream/master' into hash_password: ext/standard/basic_functions.c

2012-10-16 Thread Anthony Ferrara
Commit:99b7956ad58395853f7950ae01a43139413d348d Author:Anthony Ferrara Tue, 10 Jul 2012 10:33:51 -0400 Parents: 9d3630b5dc8fa066dc4212ead2fffc8635f5bc0a b210766084cbd00b0e479d2800e1920271a3faba Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Switch second parameter to password_make_salt to be a flag: ext/standard/password.c ext/standard/php_password.h ext/standard/tests/password/password_make_salt.phpt ext/standard/

2012-10-16 Thread Anthony Ferrara
Commit:707c9073b595a75447fbc25e01e7804293fad9b7 Author:Anthony Ferrara Wed, 11 Jul 2012 22:15:56 -0400 Parents: 99b7956ad58395853f7950ae01a43139413d348d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=707c9073b595a75447fbc25e01e7804293fad9b7

[PHP-CVS] com php-src: Remove password_make_salt() from the implementation: ext/standard/basic_functions.c ext/standard/password.c ext/standard/php_password.h ext/standard/tests/password/password_make

2012-10-16 Thread Anthony Ferrara
Commit:e05413ca594ff10fd93d40429cb598c2e109edf4 Author:Anthony Ferrara Tue, 28 Aug 2012 11:24:33 -0400 Parents: 707c9073b595a75447fbc25e01e7804293fad9b7 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e05413ca594ff10fd93d40429cb598c2e109edf4

[PHP-CVS] com php-src: Merge remote branch 'upstream/master' into hash_password: ext/standard/basic_functions.c main/main.c

2012-10-16 Thread Anthony Ferrara
Commit:824f1f45818096eff0e022ba2a1cbc2071343c9a Author:Anthony Ferrara Tue, 4 Sep 2012 10:29:22 -0400 Parents: e05413ca594ff10fd93d40429cb598c2e109edf4 4b206126aca2ad9181abe65d70367680a4bc4c03 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Refactoring to use size_t instead of int most places: ext/standard/password.c ext/standard/php_password.h

2012-10-16 Thread Anthony Ferrara
Commit:db41f9fe60d863041fb53a273c2f64b6925f5ad0 Author:Anthony Ferrara Tue, 4 Sep 2012 11:34:00 -0400 Parents: 824f1f45818096eff0e022ba2a1cbc2071343c9a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=db41f9fe60d863041fb53a273c2f64b6925f5ad0 Log

[PHP-CVS] com php-src: Fix incorrect arg info required param count for password_hash: ext/standard/basic_functions.c

2012-10-16 Thread Anthony Ferrara
Commit:7ec80e1a139ca7f43c02728f3fe2424cef0138b6 Author:Anthony Ferrara Wed, 12 Sep 2012 12:15:33 -0400 Parents: 7161c3d2cfde54ce218f20d03684f2a58e1c7627 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7ec80e1a139ca7f43c02728f3fe2424cef0138b6

[PHP-CVS] com php-src: Add tests for password_get_info and password_needs_rehash: ext/standard/tests/password/password_get_info.phpt ext/standard/tests/password/password_get_info_error.phpt ext/standa

2012-10-16 Thread Anthony Ferrara
Commit:e8b7f5b35da46a2bc414c922e8e1a7093d963899 Author:Anthony Ferrara Wed, 12 Sep 2012 11:21:08 -0400 Parents: db41f9fe60d863041fb53a273c2f64b6925f5ad0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e8b7f5b35da46a2bc414c922e8e1a7093d963899

[PHP-CVS] com php-src: Switch test to using strict comparison for crypt fallback: ext/standard/tests/password/password_hash.phpt

2012-10-16 Thread Anthony Ferrara
Commit:e9a7bde829b3e43e2c61455752801e31ea88974f Author:Anthony Ferrara Wed, 12 Sep 2012 11:37:56 -0400 Parents: e8b7f5b35da46a2bc414c922e8e1a7093d963899 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e9a7bde829b3e43e2c61455752801e31ea88974f

[PHP-CVS] com php-src: Expose PASSWORD_BCRYPT_DEFAULT_COST constant and update test to use it: ext/standard/password.c ext/standard/tests/password/password_needs_rehash.phpt

2012-10-16 Thread Anthony Ferrara
Commit:76f3295cdfd6a3106297352e73b9691084582211 Author:Anthony Ferrara Wed, 12 Sep 2012 11:47:50 -0400 Parents: ebe0bd5dee07bebd8444d9e7c28864ba17efeef8 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=76f3295cdfd6a3106297352e73b9691084582211

[PHP-CVS] com php-src: Remove bcrypt_cost ini entry from declaration: main/main.c

2012-10-16 Thread Anthony Ferrara
Commit:ebe0bd5dee07bebd8444d9e7c28864ba17efeef8 Author:Anthony Ferrara Wed, 12 Sep 2012 11:44:03 -0400 Parents: e9a7bde829b3e43e2c61455752801e31ea88974f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ebe0bd5dee07bebd8444d9e7c28864ba17efeef8

[PHP-CVS] com php-src: Add news entry for password API: NEWS

2012-10-16 Thread Anthony Ferrara
Commit:7161c3d2cfde54ce218f20d03684f2a58e1c7627 Author:Anthony Ferrara Wed, 12 Sep 2012 11:56:12 -0400 Parents: 3e383dc0d5d7eb957f6639ab38dd566e16bca92b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7161c3d2cfde54ce218f20d03684f2a58e1c7627

[PHP-CVS] com php-src: Switch to using an ENUM for algorithms instead of a constant: ext/standard/password.c ext/standard/php_password.h

2012-10-16 Thread Anthony Ferrara
Commit:83cfff4593bd3bd7791f32795e9b5bda446cd8e2 Author:Anthony Ferrara Thu, 13 Sep 2012 10:32:54 -0400 Parents: 7ec80e1a139ca7f43c02728f3fe2424cef0138b6 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=83cfff4593bd3bd7791f32795e9b5bda446cd8e2

[PHP-CVS] com php-src: A bunch of naming convention fixes. No functionality changes: ext/standard/password.c ext/standard/php_password.h

2012-10-16 Thread Anthony Ferrara
Commit:e034a46bdc36fb82957f5e503fa730776dfbba11 Author:Anthony Ferrara Mon, 17 Sep 2012 10:52:07 -0400 Parents: 83cfff4593bd3bd7791f32795e9b5bda446cd8e2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e034a46bdc36fb82957f5e503fa730776dfbba11

[PHP-CVS] com php-src: Fix ucwords error casing: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:44c2624f8c7d6bc00f46bc69c77791c2a334cc9a Author:Anthony Ferrara Mon, 17 Sep 2012 10:59:51 -0400 Parents: e034a46bdc36fb82957f5e503fa730776dfbba11 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=44c2624f8c7d6bc00f46bc69c77791c2a334cc9a

[PHP-CVS] com php-src: Refactor slightly to enable cleaner readability: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:8bd79d180716fc521a3f5cae4bbfa96eb6397925 Author:Anthony Ferrara Mon, 17 Sep 2012 11:43:47 -0400 Parents: 6fd5ba5c8d70ecbd80175a488160f57380d8afee Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8bd79d180716fc521a3f5cae4bbfa96eb6397925

[PHP-CVS] com php-src: Fix arg info for required params passed to needs_rehash: ext/standard/basic_functions.c

2012-10-16 Thread Anthony Ferrara
Commit:6fd5ba5c8d70ecbd80175a488160f57380d8afee Author:Anthony Ferrara Mon, 17 Sep 2012 11:10:59 -0400 Parents: 44c2624f8c7d6bc00f46bc69c77791c2a334cc9a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6fd5ba5c8d70ecbd80175a488160f57380d8afee

[PHP-CVS] com php-src: Fix some double free issues, and more cleanup work: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:4a7d18c79ef956022090cf7e8159ca6d50ae2339 Author:Anthony Ferrara Fri, 5 Oct 2012 15:31:58 -0400 Parents: 8bd79d180716fc521a3f5cae4bbfa96eb6397925 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4a7d18c79ef956022090cf7e8159ca6d50ae2339 Log

[PHP-CVS] com php-src: Fix issue with possible memory leak: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:25b2d364e995fc070ae16ee34f60d25148413769 Author:Anthony Ferrara Fri, 5 Oct 2012 15:53:40 -0400 Parents: 4a7d18c79ef956022090cf7e8159ca6d50ae2339 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=25b2d364e995fc070ae16ee34f60d25148413769 Log

[PHP-CVS] com php-src: fix allocation and copy issue: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:76e83f769ff5929b45cf0ac666335ce68ada166f Author:Anthony Ferrara Sat, 6 Oct 2012 12:33:48 -0400 Parents: 1751d5fabeff466f08da560caa6f9ade5a82 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=76e83f769ff5929b45cf0ac666335ce68ada166f Log

[PHP-CVS] com php-src: Really fix leaks, add test cases to prove it...: ext/standard/password.c ext/standard/tests/password/password_bcrypt_errors.phpt ext/standard/tests/password/password_hash_error.

2012-10-16 Thread Anthony Ferrara
Commit:1751d5fabeff466f08da560caa6f9ade5a82 Author:Anthony Ferrara Sat, 6 Oct 2012 10:38:41 -0400 Parents: 25b2d364e995fc070ae16ee34f60d25148413769 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1751d5fabeff466f08da560caa6f9ade5a82 Log

[PHP-CVS] com php-src: Clean up unreported memory leak by switching to zval_ptr_dtor: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:37b2207f66ac1cebdc3ff3f7f88ec319ee893292 Author:Anthony Ferrara Sun, 7 Oct 2012 05:12:02 -0400 Parents: 76e83f769ff5929b45cf0ac666335ce68ada166f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=37b2207f66ac1cebdc3ff3f7f88ec319ee893292 Log

[PHP-CVS] com php-src: Refactor to using a stack based zval instead of dynamic allocation: ext/standard/password.c

2012-10-16 Thread Anthony Ferrara
Commit:0bc9ca39ced4128c3b9fb1ba2ac797d342e7eef2 Author:Anthony Ferrara Sun, 7 Oct 2012 05:42:08 -0400 Parents: 37b2207f66ac1cebdc3ff3f7f88ec319ee893292 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0bc9ca39ced4128c3b9fb1ba2ac797d342e7eef2 Log

[PHP-CVS] com php-src: Merging in Password Hashing API into master: NEWS

2012-10-16 Thread Anthony Ferrara
Commit:9aacdf6e892fe46526e1e60a3b3fea1b1c350699 Author:Anthony Ferrara Tue, 16 Oct 2012 04:11:37 -0400 Parents: ccf749e38d1c05ab50d30781b47e55786d571585 0bc9ca39ced4128c3b9fb1ba2ac797d342e7eef2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Add new function hash_pbkdf2() to UGRAPDING doc: UPGRADING

2012-07-10 Thread Anthony Ferrara
Commit:bf0154896705afe0da6ee1c7af4dc3d75afd194b Author:Anthony Ferrara Tue, 10 Jul 2012 13:13:30 -0400 Parents: 731c6fd274932a4d31a76a38a4006cad6ffc50d3 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf0154896705afe0da6ee1c7af4dc3d75afd194b

[PHP-CVS] com php-src: Create hash_pbkdf2 function addition: NEWS ext/hash/hash.c ext/hash/php_hash.h ext/hash/tests/hash_pbkdf2_basic.phpt ext/hash/tests/hash_pbkdf2_error.phpt

2012-07-10 Thread Anthony Ferrara
Commit:6387498823c85e07a549c189ba0ec33cb6e0d90c Author:Anthony Ferrara Tue, 12 Jun 2012 09:57:11 -0400 Parents: 5b3c9f4fd1fbaa251beea37ff7870f6523320672 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6387498823c85e07a549c189ba0ec33cb6e0d90c

[PHP-CVS] com php-src: Update NEWS to fix typo, add name: NEWS

2012-07-10 Thread Anthony Ferrara
Commit:550253f6529bfa56e494505e6517500f98c7223a Author:Anthony Ferrara Tue, 12 Jun 2012 13:51:18 -0400 Parents: 6387498823c85e07a549c189ba0ec33cb6e0d90c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=550253f6529bfa56e494505e6517500f98c7223a

[PHP-CVS] com php-src: refactor away un-necessary casts in hashing routines: ext/hash/hash.c

2012-07-10 Thread Anthony Ferrara
Commit:4918a6bd23f907b6712bdd04fcd265a411b0 Author:Anthony Ferrara Tue, 12 Jun 2012 14:09:16 -0400 Parents: 550253f6529bfa56e494505e6517500f98c7223a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4918a6bd23f907b6712bdd04fcd265a411b0

[PHP-CVS] com php-src: Update error messages to be more inline with PHP standards: ext/hash/hash.c

2012-07-10 Thread Anthony Ferrara
Commit:df3d351cad7ecc2b6087e7f26edf6fa8b22cd960 Author:Anthony Ferrara Tue, 12 Jun 2012 14:10:35 -0400 Parents: 4918a6bd23f907b6712bdd04fcd265a411b0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=df3d351cad7ecc2b6087e7f26edf6fa8b22cd960

[PHP-CVS] com php-src: Remove un-needed memset, and replacing stray spaces: ext/hash/hash.c

2012-07-10 Thread Anthony Ferrara
Commit:43eb8dc04af1480b3caa62d252ede28dcb059c7b Author:Anthony Ferrara Tue, 12 Jun 2012 14:32:21 -0400 Parents: df3d351cad7ecc2b6087e7f26edf6fa8b22cd960 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=43eb8dc04af1480b3caa62d252ede28dcb059c7b

[PHP-CVS] com php-src: Fix tests to use proper casing: ext/hash/tests/hash_pbkdf2_error.phpt

2012-07-10 Thread Anthony Ferrara
Commit:2f1cd2cb1377bac9093ab539d936dd6c4a913916 Author:Anthony Ferrara Tue, 12 Jun 2012 14:52:43 -0400 Parents: 43eb8dc04af1480b3caa62d252ede28dcb059c7b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2f1cd2cb1377bac9093ab539d936dd6c4a913916

[PHP-CVS] com php-src: More cleanup of documentation and comments, as well as code formatting: ext/hash/hash.c

2012-07-10 Thread Anthony Ferrara
Commit:03536e889ad29ed3b6153aafa77b647bdcfe2592 Author:Anthony Ferrara Tue, 12 Jun 2012 15:05:44 -0400 Parents: 2f1cd2cb1377bac9093ab539d936dd6c4a913916 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=03536e889ad29ed3b6153aafa77b647bdcfe2592

[PHP-CVS] com php-src: Merge branch 'PHP-5.4': run-tests.php

2012-07-06 Thread Anthony Ferrara
Commit:6abd7365d041f07ab2ac16de22091e6b3065d69b Author:Anthony Ferrara Fri, 6 Jul 2012 22:39:32 -0400 Parents: ed54357fcded8849c6830fa80b42bdde4650fdb8 79ed100c19667ecf8b8fcb445bd52bf8c22cee0a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Fix two issues with run-tests.php: run-tests.php

2012-07-06 Thread Anthony Ferrara
Commit:26b37f1792dfaf9b0b30f81e492c8f68b9ece571 Author:Anthony Ferrara Fri, 6 Jul 2012 22:37:50 -0400 Parents: 157ddd95773114c1148536b4b32fcbedf0c79b20 Branches: PHP-5.3 PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Restore old NEWS file, and re-add new entry.: NEWS

2012-06-28 Thread Anthony Ferrara
Commit:e778b03307ef51a501136f6876495dc2e7409e41 Author:Anthony Ferrara Thu, 28 Jun 2012 22:43:59 -0400 Parents: da5fb9cb98aca68d85d89a40244d4941d8442310 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e778b03307ef51a501136f6876495dc2e7409e41

[PHP-CVS] com php-src: Merge branch 'PHP-5.4': NEWS

2012-06-28 Thread Anthony Ferrara
Commit:63318772ae2fc3b69391f38764b3ab9e834e9120 Author:Anthony Ferrara Thu, 28 Jun 2012 20:38:31 -0400 Parents: cd7ab5cd11f156d58306539f6298f1661bf06cab 34ab5650bcea46825ed1f9021c5a52b161705c27 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt): NEWS ext/standard/crypt.c ext/standard/tests/strings/bug62443.phpt

2012-06-28 Thread Anthony Ferrara
Commit:7e8276ca68fc622124d51d18e4f7b5cde3536de4 Author:Anthony Ferrara Thu, 28 Jun 2012 20:00:03 -0400 Parents: 974324676b2436f159f42d9241c569f813471684 Branches: PHP-5.3 PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h

[PHP-CVS] com php-src: Merge branch 'PHP-5.3' into PHP-5.4: NEWS ext/standard/crypt.c

2012-06-28 Thread Anthony Ferrara
Commit:34ab5650bcea46825ed1f9021c5a52b161705c27 Author:Anthony Ferrara Thu, 28 Jun 2012 20:36:21 -0400 Parents: 405ebfcd182a39f0960ff7d7055d49053d3e0316 7e8276ca68fc622124d51d18e4f7b5cde3536de4 Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a

[PHP-CVS] Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/Zend/zend_API.c trunk/NEWS trunk/Zend/zend_API.c

2012-02-27 Thread Anthony Ferrara
, and zval_ptr_dtor it as well (instead of efree, as that way if a reference is stored somewhere it won't result in a double free, or a segfault for accessing freed memory)? Thanks, Anthony On Mon, Feb 27, 2012 at 11:39 AM, Xinchen Hui wrote: > Sent from my iPad > > 在 2012-2-28,0:10,

[PHP-CVS] Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/Zend/zend_API.c trunk/NEWS trunk/Zend/zend_API.c

2012-02-27 Thread Anthony Ferrara
Out of curiosity, why are you changing it to copy the object for the result of the cast operation? cast_object should init the result zval, so why go through the step of copying the starting object to it? Wouldn't it be easier just to do: if (Z_OBJ_HANDLER_PP(arg, cast_object)) {