[Libwebsockets] [libwebsockets] #28: Crash due to file descriptor being accessed from union storing header data

Trac trac at libwebsockets.org
Thu May 2 03:30:54 CEST 2013


#28: Crash due to file descriptor being accessed from union storing header data
------------------------------------+--------------------------------
  Reporter:  simonwulf              |      Owner:  agreen
      Type:  defect                 |     Status:  new
  Priority:  critical               |  Milestone:
 Component:  libwebsockets library  |    Version:
Resolution:                         |   Keywords:  server union crash
------------------------------------+--------------------------------

Comment (by agreen):

 I guess after the initial close attepmt dumb_increment is trying to send
 something since we did not actually close, and then noticing we're dead
 that way, and closing properly on the second attempt.

 If mirror isn't sending anything at that time (it's normally idle) then it
 won't have the same opportunity to try to close a second time until the
 whole thing shuts down.

 Can you let me know what platform this is, Linux, or?

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



More information about the Libwebsockets mailing list