1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/misc
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
..
fts lws_struct sqlite3 2020-03-04 11:00:04 +00:00
lwsac logs: allow giving log bitfields from cmake to force build or exclusion 2020-04-22 06:59:01 +01:00
threadpool mingw: fix for different sockfd type in udp example 2020-06-06 15:53:58 +01:00
base64-decode.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
CMakeLists.txt lws_netdev: use lws_settings 2020-07-07 15:23:19 +01:00
daemonize.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
dir.c lws_dir: add rm -rf and glob filter callbacks 2020-05-03 14:16:48 +01:00
diskcache.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
fsmount.c fsmount: delete session dir on mount 2020-03-05 14:12:24 +00:00
getifaddrs.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
getifaddrs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
lejp.c lejp: enable negative integers 2020-06-22 08:14:56 +01:00
lws-ring.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
lws-struct-lejp.c struct-lejp: handle no path match 2020-07-09 19:28:23 +01:00
lws-struct-sqlite.c sai: update to new tuple format 2020-06-05 08:33:51 +01:00
peer-limits.c PEER_LIMITS: modernize to sa46 and add notification cb 2020-06-02 08:37:10 +01:00
romfs.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
romfs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
sha-1.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00