hat es jemand geschafft den php4 fix zu patchen und gleichzeitig hardened-php zu installieren?
wahrscheinlich patche ich auch nur zu wenig in der freizeit :P jedenfalls meckert der hardened-php patch das php schon gepatched wurde und macht deswegen nicht weiter
php fix von hardened-php projekt und hardened-php ?
Re: php fix von hardened-php projekt und hardened-php ?
Poste bitte den Output von patch.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: php fix von hardened-php projekt und hardened-php ?
php-4.4.2-security-fix.patch läuft durch anschliessend dann:
patch -p 1 < ../hardening-patch-4.4.2-0.4.9.patch
patching file acinclude.m4
patching file configure
patching file configure.in
patching file ext/curl/curl.c
patching file ext/fbsql/php_fbsql.c
patching file ext/mbstring/mbstring.c
patching file ext/mysql/php_mysql.c
patching file ext/pgsql/pgsql.c
patching file ext/session/mod_files.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 16.
Hunk #2 FAILED at 364.
Hunk #3 succeeded at 393 (offset 2 lines).
2 out of 3 hunks FAILED -- saving rejects to file ext/session/mod_files.c.rej
patching file ext/session/mod_mm.c
patching file ext/session/mod_user.c
patching file ext/session/mod_user.h
patching file ext/session/php_session.h
patching file ext/session/session.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 17.
Hunk #3 succeeded at 633 with fuzz 2 (offset 6 lines).
Hunk #4 succeeded at 650 (offset 6 lines).
Hunk #5 succeeded at 1278 (offset 6 lines).
Hunk #6 succeeded at 1315 (offset 6 lines).
Hunk #7 succeeded at 1380 (offset 6 lines).
1 out of 7 hunks FAILED -- saving rejects to file ext/session/session.c.rej
patching file ext/session/tests/014.phpt
patching file ext/session/tests/015.phpt
patching file ext/session/tests/018.phpt
patching file ext/session/tests/020.phpt
patching file ext/session/tests/021.phpt
patching file ext/standard/array.c
patching file ext/standard/basic_functions.c
patching file ext/standard/config.m4
patching file ext/standard/crypt_blowfish.c
patching file ext/standard/crypt.c
patching file ext/standard/dl.c
patching file ext/standard/file.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 552.
Hunk #3 FAILED at 566.
Hunk #4 FAILED at 578.
Hunk #5 succeeded at 829 (offset 5 lines).
Hunk #6 FAILED at 2206.
Hunk #7 succeeded at 2532 (offset 5 lines).
5 out of 7 hunks FAILED -- saving rejects to file ext/standard/file.c.rej
patching file ext/standard/file.h
patching file ext/standard/head.c
patching file ext/standard/html.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 793.
2 out of 2 hunks FAILED -- saving rejects to file ext/standard/html.c.rej
patching file ext/standard/info.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 58.
Hunk #2 FAILED at 150.
Hunk #3 succeeded at 420 (offset 6 lines).
Hunk #4 succeeded at 442 (offset 6 lines).
2 out of 4 hunks FAILED -- saving rejects to file ext/standard/info.c.rej
patching file ext/standard/pack.c
patching file ext/standard/php_standard.h
patching file ext/standard/sha256.c
patching file ext/standard/sha256.h
patching file ext/standard/string.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 672.
2 out of 2 hunks FAILED -- saving rejects to file ext/standard/string.c.rej
patching file ext/standard/syslog.c
patching file ext/standard/url.c
patching file ext/varfilter/config.m4
patching file ext/varfilter/CREDITS
patching file ext/varfilter/php_varfilter.h
patching file ext/varfilter/varfilter.c
patching file main/fopen_wrappers.c
patching file main/hardened_globals.h
patching file main/hardening_patch.c
patching file main/hardening_patch.h
patching file main/hardening_patch.m4
patching file main/main.c
patching file main/php_config.h.in
patching file main/php_content_types.c
patching file main/php.h
patching file main/php_variables.c
patching file main/rfc1867.c
patching file main/SAPI.c
patching file main/SAPI.h
patching file main/snprintf.c
patching file main/spprintf.c
patching file php.ini-dist
patching file php.ini-recommended
patching file README.input_filter
patching file run-tests.php
patching file sapi/apache/mod_php4.c
patching file sapi/apache2filter/sapi_apache2.c
patching file sapi/apache2handler/sapi_apache2.c
patching file sapi/cgi/cgi_main.c
patching file sapi/cli/php_cli.c
patching file TSRM/TSRM.h
patching file TSRM/tsrm_virtual_cwd.c
patching file TSRM/tsrm_virtual_cwd.h
patching file Zend/zend_alloc.c
patching file Zend/zend_alloc.h
patching file Zend/zend_builtin_functions.c
patching file Zend/zend.c
patching file Zend/zend_canary.c
patching file Zend/zend_compile.c
patching file Zend/zend_compile.h
patching file Zend/zend_constants.c
patching file Zend/zend_errors.h
patching file Zend/zend_execute_API.c
patching file Zend/zend_execute.c
patching file Zend/zend_execute_globals.h
patching file Zend/zend_extensions.c
patching file Zend/zend_extensions.h
patching file Zend/zend_globals.h
patching file Zend/zend.h
patching file Zend/zend_hash.c
Hunk #9 FAILED at 522.
Hunk #10 succeeded at 559 (offset 2 lines).
Hunk #11 succeeded at 591 (offset 2 lines).
Hunk #12 succeeded at 620 (offset 2 lines).
Hunk #13 succeeded at 652 (offset 2 lines).
1 out of 13 hunks FAILED -- saving rejects to file Zend/zend_hash.c.rej
patching file Zend/zend_hash.h
patching file Zend/zend_ini.h
patching file Zend/zend_language_scanner.l
patching file Zend/zend_language_scanner.c
patching file Zend/zend_llist.c
patching file Zend/zend_llist.h
patching file Zend/zend_modules.h
patching file Zend/zend_opcode.c
patching file Zend/zend_operators.c
patching file Zend/zend_operators.h
patch -p 1 < ../hardening-patch-4.4.2-0.4.9.patch
patching file acinclude.m4
patching file configure
patching file configure.in
patching file ext/curl/curl.c
patching file ext/fbsql/php_fbsql.c
patching file ext/mbstring/mbstring.c
patching file ext/mysql/php_mysql.c
patching file ext/pgsql/pgsql.c
patching file ext/session/mod_files.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 16.
Hunk #2 FAILED at 364.
Hunk #3 succeeded at 393 (offset 2 lines).
2 out of 3 hunks FAILED -- saving rejects to file ext/session/mod_files.c.rej
patching file ext/session/mod_mm.c
patching file ext/session/mod_user.c
patching file ext/session/mod_user.h
patching file ext/session/php_session.h
patching file ext/session/session.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 17.
Hunk #3 succeeded at 633 with fuzz 2 (offset 6 lines).
Hunk #4 succeeded at 650 (offset 6 lines).
Hunk #5 succeeded at 1278 (offset 6 lines).
Hunk #6 succeeded at 1315 (offset 6 lines).
Hunk #7 succeeded at 1380 (offset 6 lines).
1 out of 7 hunks FAILED -- saving rejects to file ext/session/session.c.rej
patching file ext/session/tests/014.phpt
patching file ext/session/tests/015.phpt
patching file ext/session/tests/018.phpt
patching file ext/session/tests/020.phpt
patching file ext/session/tests/021.phpt
patching file ext/standard/array.c
patching file ext/standard/basic_functions.c
patching file ext/standard/config.m4
patching file ext/standard/crypt_blowfish.c
patching file ext/standard/crypt.c
patching file ext/standard/dl.c
patching file ext/standard/file.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 552.
Hunk #3 FAILED at 566.
Hunk #4 FAILED at 578.
Hunk #5 succeeded at 829 (offset 5 lines).
Hunk #6 FAILED at 2206.
Hunk #7 succeeded at 2532 (offset 5 lines).
5 out of 7 hunks FAILED -- saving rejects to file ext/standard/file.c.rej
patching file ext/standard/file.h
patching file ext/standard/head.c
patching file ext/standard/html.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 793.
2 out of 2 hunks FAILED -- saving rejects to file ext/standard/html.c.rej
patching file ext/standard/info.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 58.
Hunk #2 FAILED at 150.
Hunk #3 succeeded at 420 (offset 6 lines).
Hunk #4 succeeded at 442 (offset 6 lines).
2 out of 4 hunks FAILED -- saving rejects to file ext/standard/info.c.rej
patching file ext/standard/pack.c
patching file ext/standard/php_standard.h
patching file ext/standard/sha256.c
patching file ext/standard/sha256.h
patching file ext/standard/string.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 672.
2 out of 2 hunks FAILED -- saving rejects to file ext/standard/string.c.rej
patching file ext/standard/syslog.c
patching file ext/standard/url.c
patching file ext/varfilter/config.m4
patching file ext/varfilter/CREDITS
patching file ext/varfilter/php_varfilter.h
patching file ext/varfilter/varfilter.c
patching file main/fopen_wrappers.c
patching file main/hardened_globals.h
patching file main/hardening_patch.c
patching file main/hardening_patch.h
patching file main/hardening_patch.m4
patching file main/main.c
patching file main/php_config.h.in
patching file main/php_content_types.c
patching file main/php.h
patching file main/php_variables.c
patching file main/rfc1867.c
patching file main/SAPI.c
patching file main/SAPI.h
patching file main/snprintf.c
patching file main/spprintf.c
patching file php.ini-dist
patching file php.ini-recommended
patching file README.input_filter
patching file run-tests.php
patching file sapi/apache/mod_php4.c
patching file sapi/apache2filter/sapi_apache2.c
patching file sapi/apache2handler/sapi_apache2.c
patching file sapi/cgi/cgi_main.c
patching file sapi/cli/php_cli.c
patching file TSRM/TSRM.h
patching file TSRM/tsrm_virtual_cwd.c
patching file TSRM/tsrm_virtual_cwd.h
patching file Zend/zend_alloc.c
patching file Zend/zend_alloc.h
patching file Zend/zend_builtin_functions.c
patching file Zend/zend.c
patching file Zend/zend_canary.c
patching file Zend/zend_compile.c
patching file Zend/zend_compile.h
patching file Zend/zend_constants.c
patching file Zend/zend_errors.h
patching file Zend/zend_execute_API.c
patching file Zend/zend_execute.c
patching file Zend/zend_execute_globals.h
patching file Zend/zend_extensions.c
patching file Zend/zend_extensions.h
patching file Zend/zend_globals.h
patching file Zend/zend.h
patching file Zend/zend_hash.c
Hunk #9 FAILED at 522.
Hunk #10 succeeded at 559 (offset 2 lines).
Hunk #11 succeeded at 591 (offset 2 lines).
Hunk #12 succeeded at 620 (offset 2 lines).
Hunk #13 succeeded at 652 (offset 2 lines).
1 out of 13 hunks FAILED -- saving rejects to file Zend/zend_hash.c.rej
patching file Zend/zend_hash.h
patching file Zend/zend_ini.h
patching file Zend/zend_language_scanner.l
patching file Zend/zend_language_scanner.c
patching file Zend/zend_llist.c
patching file Zend/zend_llist.h
patching file Zend/zend_modules.h
patching file Zend/zend_opcode.c
patching file Zend/zend_operators.c
patching file Zend/zend_operators.h
Re: php fix von hardened-php projekt und hardened-php ?
Vergleiche die *.rej mit dem securityfix und entferne die übereinstimmenden Sektionen aus dem securityfix. Die restlichen Sektionen musst Du selbst fixen, oder den securityfix komplett weglassen.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: php fix von hardened-php projekt und hardened-php ?
Was hindert Dich von der Seite gleich das php 4.4.2 inklusive Hardening zu nehmen?
Und warum 0.4.9 und nicht 0.4.11 (aktuelle Version?)
Und warum 0.4.9 und nicht 0.4.11 (aktuelle Version?)
