1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib
Andy Green 2b20f62e55 struct-lejp: handle no path match
For some patterns of JSON we return to parse at the outermost level and
meet a situation path_match is 0.  In some places we're looking at things
from perspective of path_match - 1... that does not seem to cause trouble on
x86_64 but can on aarch64, which is how it got noticed.

This logically protects those accesses by checking !!path_match.
2020-07-09 19:28:23 +01:00
..
abstract cmakelist: Augean Stables refactor 2020-05-27 08:40:12 +01:00
core lws_dll2: add helper for typed object name from owner list 2020-07-09 15:30:34 +01:00
core-net lws_netdev: use lws_settings 2020-07-07 15:23:19 +01:00
drivers lws_netdev: use lws_settings 2020-07-07 15:23:19 +01:00
event-libs glib: stop leaking idle and hrtimer source 2020-07-07 11:28:28 +01:00
jose cmakelist: Augean Stables refactor 2020-05-27 08:40:12 +01:00
misc struct-lejp: handle no path match 2020-07-09 19:28:23 +01:00
plat lws_netdev: use lws_settings 2020-07-07 15:23:19 +01:00
roles coverity: force amount to 0 before read call 2020-07-08 18:27:47 +01:00
secure-streams ss: client: clear timeout when connection acknowledged 2020-07-08 19:20:03 +01:00
system ss: proxy: smd: use correct zombie vs message check 2020-07-08 19:47:55 +01:00
tls mbedtls: only free crt_parse when something came back 2020-07-09 15:30:34 +01:00
CMakeLists.txt drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries