[Libwebsockets] [libwebsockets] #11: infinite recursion in libwebsocket_service_fd

Trac trac at libwebsockets.org
Sun Feb 10 14:14:41 CET 2013


#11: infinite recursion in libwebsocket_service_fd
------------------------------------+--------------------
  Reporter:  amn                    |      Owner:  agreen
      Type:  defect                 |     Status:  new
  Priority:  major                  |  Milestone:
 Component:  libwebsockets library  |    Version:
Resolution:                         |   Keywords:
------------------------------------+--------------------

Comment (by amn):

 Sorry, I didn't notice the second patch. I applied only the first one to
 1.1.

 I pulled the latest tree and I confirm (after approx. 200 test runs) that
 the bug is fixed.

 To compile the latest version I had to modify lines 1759-1760 of
 libwebsockets.c from

 >               if (ssl_cert_filepath != NULL &&
 >                                            ssl_private_key_filepath !=
 NULL) {

 to


 >               if (info->ssl_cert_filepath != NULL &&
 >
 info->ssl_private_key_filepath != NULL) {

 and remove -fstack-usage from generated Makefile

 Thanks for your quick reaction!

-- 
Ticket URL: <http://libwebsockets.org/trac/ticket/11#comment:5>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list