Bug #68046 [Asn]: 5.5.17 breaks mysqlnd + SSL again

From: Date: Mon, 22 Sep 2014 15:56:55 +0000
Subject: Bug #68046 [Asn]: 5.5.17 breaks mysqlnd + SSL again
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187661@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68046&edit=1

 ID:                 68046
 User updated by:    spam2 at rhsoft dot net
 Reported by:        spam2 at rhsoft dot net
 Summary:            5.5.17 breaks mysqlnd + SSL again
 Status:             Assigned
 Type:               Bug
 Package:            MySQLi related
 Operating System:   Linux
 PHP Version:        5.5.17
 Assigned To:        rdlowrey
 Block user comment: N
 Private report:     N

 New Comment:

boah read what i write - *the test* is practically a one-liner, not the fix and i would have
expected after mysqlnd with ssl was broken 3 years ago that won't happen again upstream and
catched by tests

guess why i wrote one matching my infrastructure at that time

the reason why i complain is that when in software-development the same bug makes it twice in a
stable release something goes terrible wrong and given we have now 2014 (one year after Snowden)
it's not that uncommon to necrypt MySQL connections


Previous Comments:
------------------------------------------------------------------------
[2014-09-22 15:43:14] rdlowrey@php.net

One line fixes are super easy to PR.

------------------------------------------------------------------------
[2014-09-22 15:42:10] spam2 at rhsoft dot net

> Complaining is being part of the problem
> Contributing is being part of the solution

oh yeah the next time i don't open a bugreport, just delete the new built RPM and go my way
because i can't offer a auto-test matching the upstream codebase but is not much more than a
one liner

i hestitate to express what i really think about such respones

------------------------------------------------------------------------
[2014-09-22 15:34:01] rdlowrey@php.net

Please submit a PR if you think you have something useful to contribute to the project instead of
trying to push it off on other people. Complaining is being part of the problem. Contributing is
being part of the solution. Thanks for your time.

------------------------------------------------------------------------
[2014-09-22 15:30:45] spam2 at rhsoft dot net

how often do i need to post how to test this?
what do you do with a pull-request of a code using our own rwapper around mysqli?

http://php.net/manual/de/mysqli.ssl-set.php
mysqli_ssl_set ($link, $key, $cert, $ca, NULL, NULL) runs into a timeout

------------------------------------------------------------------------
[2014-09-22 15:22:51] rdlowrey@php.net

This is actually not a mysqli issue -- it's an openssl streams issue and has to do with feof()
never reporting as true when it should (which causes the script to hang indefinitely). However, any
test cases you feel would help can certainly be added. Please submit pull requests via the git
account and I will happily merge them.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=68046


--
Edit this bug report at https://bugs.php.net/bug.php?id=68046&edit=1


Thread (28 messages)

« previous php.bugs (#187661) next »