An ubus RPC daemon for Liminix
Find a file
Jo-Philipp Wich 569284a119 session: handle NULL return values of crypt()
The crypt() function may return NULL with errno ENOSYS when an attempt
was made to crypt the plaintext password using a salt requesting an
unsupported cipher.

Avoid triggering segmentation faults in the subsequent strcmp() operation
by checking for a non-NULL hash value.

Fixes: FS#2291
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-05-22 14:25:52 +02:00
include/rpcd plugin: store pointer to exec timeout value in the ops structure 2018-11-28 12:10:40 +01:00
CMakeLists.txt cmake: Find libubox/blobmsg_json.h 2016-12-11 09:16:30 +01:00
exec.c treewide: rename exec_timeout to rpc_exec_timeout 2018-11-28 12:07:58 +01:00
file.c file: avoid closing stdio descriptors in rpc_file_exec_run 2018-12-21 09:30:19 +01:00
iwinfo.c iwinfo: add mesh infos in assoclist. 2019-03-05 19:51:54 +01:00
main.c treewide: rename exec_timeout to rpc_exec_timeout 2018-11-28 12:07:58 +01:00
plugin.c plugin: store pointer to exec timeout value in the ops structure 2018-11-28 12:10:40 +01:00
session.c session: handle NULL return values of crypt() 2019-05-22 14:25:52 +02:00
sys.c sys: packagelist: allow listing all packages 2017-12-06 18:44:23 +01:00
uci.c uci: tighten uci reorder operation error handling 2018-08-09 00:07:27 +02:00
unauthenticated.json session: setup a persistent NULL section and implement login procedure 2013-09-10 19:56:36 +02:00