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

Trac trac at libwebsockets.org
Sun May 19 08:07:31 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):

 libwebsockets doesn't handle HEAD, but it's confused at that point about
 whether it's servicing an accepted HTTP connection or just parsing
 headers.  I added a patch that should sort that out

 http://git.libwebsockets.org/cgi-
 bin/cgit/libwebsockets/commit/?id=7cf6cb00c26803b1a56bc0b0851efbfbef62d8b2

 ...however it still doesn't handle HEAD, not sure if that leaves a problem
 or not.

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



More information about the Libwebsockets mailing list