1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/ctdb/common
Amitay Isaacs efd0c45a8b ctdb-common: Fix empty value handling in conf
In tini, allow_empty_value=false causes the parser to ignore the lines
without '=' sign, but lines with nothing after '=' sign are allowed and
cause empty string ("") to be passed as a value.

This is counter-intuitive, so conf requires special handling for empty
values (which are treated as invalid).

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2019-07-26 03:34:16 +00:00
..
cmdline.c ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned 2019-06-05 10:25:49 +00:00
cmdline.h ctdb-common: Add command line processing abstraction 2018-05-12 12:06:28 +02:00
comm.c ctdb-common: Fix use-after-free error in comm_fd_handler() 2017-02-16 05:26:08 +01:00
comm.h spelling of associated 2019-02-13 04:15:14 +01:00
common.h ctdb-common: Mark ctdb_fatal() and ctdb_die() as _NORETURN_ 2019-07-05 05:03:24 +00:00
conf_tool.c debug: Use debuglevel_(get|set) function 2018-11-08 11:03:11 +01:00
conf_tool.h ctdb-common: Add config options tool 2018-05-12 12:06:28 +02:00
conf.c ctdb-common: Fix empty value handling in conf 2019-07-26 03:34:16 +00:00
conf.h ctdb-common: Add config file parsing code 2018-05-12 12:06:28 +02:00
ctdb_io.c ctdb: buffer write beyond limits 2019-02-22 02:08:07 +01:00
ctdb_ltdb.c ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:24 +00:00
ctdb_util.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-07-05 05:03:24 +00:00
db_hash.c ctdb-common: Add traverse_update function to db_hash abstraction 2017-04-05 04:47:23 +02:00
db_hash.h ctdb-common: Add traverse_update function to db_hash abstraction 2017-04-05 04:47:23 +02:00
event_script.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-07-05 05:03:24 +00:00
event_script.h ctdb-common: Factor out basic script abstraction 2018-07-28 17:14:11 +02:00
hash_count.c ctdb-common: Add hash_count abstraction 2017-04-05 04:47:23 +02:00
hash_count.h ctdb-common: Add hash_count abstraction 2017-04-05 04:47:23 +02:00
line.c ctdb-common: Add line based I/O 2018-07-28 03:50:11 +02:00
line.h ctdb-common: Add line based I/O 2018-07-28 03:50:11 +02:00
logging_conf.c ctdb-common: Add config options for logging 2018-05-12 12:06:28 +02:00
logging_conf.h ctdb-common: Add config options for logging 2018-05-12 12:06:28 +02:00
logging.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-06-05 10:25:49 +00:00
logging.h ctdb-common: Add a function to validate logging specification 2018-05-12 12:06:28 +02:00
path_tool.c debug: Use debuglevel_(get|set) function 2018-11-08 11:03:11 +01:00
path_tool.h ctdb-common: Add path tool 2018-05-12 12:06:28 +02:00
path.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-06-05 10:25:49 +00:00
path.h ctdb-common: Add path support for datadir 2018-07-11 11:48:38 +02:00
pidfile.c ctdb-common: Reimplement pidfile_context_create() using pidfile_path_create() 2017-08-02 07:28:44 +02:00
pidfile.h ctdb-common: Rename pidfile_create() -> pidfile_context_create() 2017-08-02 03:39:11 +02:00
pkt_read.c ctdb-common: Add packet read abstraction 2015-10-07 14:53:28 +02:00
pkt_read.h ctdb-common: Add packet read abstraction 2015-10-07 14:53:28 +02:00
pkt_write.c ctdb-common: Add packet write abstraction 2015-10-07 14:53:28 +02:00
pkt_write.h ctdb-common: Add packet write abstraction 2015-10-07 14:53:28 +02:00
rb_tree.c ctdb-common: Use #ifdef to avoid TEST_RB_TREE not defined 2019-06-05 10:25:50 +00:00
rb_tree.h Added some #ifndefs to stop files being included multiple times. 2011-11-11 14:31:50 +11:00
reqid.c ctdb-common: Add request id abstraction 2015-10-07 14:53:28 +02:00
reqid.h ctdb-common: Add request id abstraction 2015-10-07 14:53:28 +02:00
run_event.c ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:24 +00:00
run_event.h ctdb-common: Add support to run events through failure 2018-06-05 22:34:19 +02:00
run_proc.c ctdb-common: Fix memory leak in run_proc 2019-05-14 08:59:03 +00:00
run_proc.h Fix spelling s/allows to/allows one to/ 2018-05-12 02:09:25 +02:00
sock_client.c ctdb: Check return values of tevent_req_set_endtime() 2018-05-17 01:09:46 +02:00
sock_client.h Fix spelling s/allows to/allows one to/ 2018-05-12 02:09:25 +02:00
sock_daemon.c ctdb:common: Do not print NULL if we don't get a sockpath 2019-05-08 16:33:24 +00:00
sock_daemon.h ctdb-common: Set close-on-exec for startup fd 2018-10-22 06:04:20 +02:00
sock_io.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-07-05 05:03:24 +00:00
sock_io.h ctdb-common: Refactor code to remove a stale socket 2017-02-17 10:44:14 +01:00
srvid.c ctdb-common: Extend srvid_exists() check to support optional private_data 2017-09-21 08:53:26 +02:00
srvid.h ctdb-common: Extend srvid_exists() check to support optional private_data 2017-09-21 08:53:26 +02:00
system_socket.c ctdb-common: Fix error handling 2019-07-05 05:03:24 +00:00
system_socket.h ctdb-common: Drop function parse_ip_mask() and supporting functions 2018-07-27 05:45:21 +02:00
system.c ctdb: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:21 +01:00
system.h ctdb-common: Drop unused function mkdir_p_or_die() 2018-07-27 08:42:20 +02:00
tunable.c ctdb: Use C99 initializer for last element of tunables 2019-01-28 10:29:21 +01:00
tunable.h ctdb-common: Refactor tunable related functions 2016-07-25 21:29:46 +02:00