]> Kevux Git Server - fll/commitdiff
Security: Check if setting is NULL.
authorKevin Day <thekevinday@gmail.com>
Sat, 24 Dec 2022 22:30:43 +0000 (16:30 -0600)
committerKevin Day <thekevinday@gmail.com>
Sat, 24 Dec 2022 22:30:43 +0000 (16:30 -0600)
17 files changed:
level_3/byte_dump/c/print.c
level_3/control/c/print.c
level_3/controller/c/print.c
level_3/fake/c/print.c
level_3/firewall/c/print.c
level_3/fss_basic_list_read/c/print.c
level_3/fss_basic_read/c/print.c
level_3/fss_embedded_list_read/c/print.c
level_3/fss_extended_list_read/c/print.c
level_3/fss_extended_read/c/print.c
level_3/fss_identify/c/print.c
level_3/fss_payload_read/c/print.c
level_3/fss_write/c/main/print.c
level_3/iki_read/c/main/print.c
level_3/iki_write/c/main/print.c
level_3/status_code/c/main/print.c
level_3/utf8/c/main/print.c

index d70cc81dbda132f1d28942424f9cc89bf6d1bd15..a3594d9adc6331a18111a889acba0db2656cdf61 100644 (file)
@@ -112,7 +112,7 @@ extern "C" {
 #ifndef _di_byte_dump_print_line_last_locked_
   f_status_t byte_dump_print_line_last_locked(byte_dump_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & byte_dump_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
@@ -129,7 +129,7 @@ extern "C" {
 #ifndef _di_byte_dump_print_line_last_unlocked_
   f_status_t byte_dump_print_line_last_unlocked(byte_dump_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & byte_dump_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
index 6f160217f52ac35544d6b10d4d396cc12aacb6a6..174ed8def6b799e4486425b8f0aa397e88a9190e 100644 (file)
@@ -51,7 +51,7 @@ extern "C" {
 #ifndef _di_control_print_line_first_locked_
   f_status_t control_print_line_first_locked(control_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & control_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
@@ -68,7 +68,7 @@ extern "C" {
 #ifndef _di_control_print_line_first_unlocked_
   f_status_t control_print_line_first_unlocked(control_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & control_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
@@ -85,7 +85,7 @@ extern "C" {
 #ifndef _di_control_print_line_last_locked_
   f_status_t control_print_line_last_locked(control_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & control_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
@@ -102,7 +102,7 @@ extern "C" {
 #ifndef _di_control_print_line_last_unlocked_
   f_status_t control_print_line_last_unlocked(control_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & control_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
index d25b6f24d1b644e8746f4d0596c66a4c32a06b03..2598714ef5216838a3237948bc6d72ebf44d0ebb 100644 (file)
@@ -54,7 +54,7 @@ extern "C" {
 #ifndef _di_controller_print_line_first_locked_
   f_status_t controller_print_line_first_locked(controller_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & controller_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
@@ -71,7 +71,7 @@ extern "C" {
 #ifndef _di_controller_print_line_first_unlocked_
   f_status_t controller_print_line_first_unlocked(controller_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & controller_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
@@ -88,7 +88,7 @@ extern "C" {
 #ifndef _di_controller_print_line_last_locked_
   f_status_t controller_print_line_last_locked(controller_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & controller_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
@@ -105,7 +105,7 @@ extern "C" {
 #ifndef _di_controller_print_line_last_unlocked_
   f_status_t controller_print_line_last_unlocked(controller_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
     if (setting->flag & controller_main_flag_verify_e) return;
 
     if (!F_status_is_error(setting->status)) {
index ab71f74e0c95ec97fe37b145702fecc4008bf113..9880f6a51597bc9428b971006922700847c80f06 100644 (file)
@@ -82,7 +82,7 @@ extern "C" {
 #ifndef _di_fake_print_line_first_locked_
   f_status_t fake_print_line_first_locked(fake_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -97,7 +97,7 @@ extern "C" {
 #ifndef _di_fake_print_line_first_unlocked_
   f_status_t fake_print_line_first_unlocked(fake_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -112,7 +112,7 @@ extern "C" {
 #ifndef _di_fake_print_line_last_locked_
   f_status_t fake_print_line_last_locked(fake_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -127,7 +127,7 @@ extern "C" {
 #ifndef _di_fake_print_line_last_unlocked_
   f_status_t fake_print_line_last_unlocked(fake_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index ea271f5a102070240fabf11670b5e1537db10152..aa7df5e96fc652f250729897a77605232025ddb7 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
 #ifndef _di_firewall_print_line_first_locked_
   f_status_t firewall_print_line_first_locked(firewall_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -55,7 +55,7 @@ extern "C" {
 #ifndef _di_firewall_print_line_first_unlocked_
   f_status_t firewall_print_line_first_unlocked(firewall_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -70,7 +70,7 @@ extern "C" {
 #ifndef _di_firewall_print_line_last_locked_
   f_status_t firewall_print_line_last_locked(firewall_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -85,7 +85,7 @@ extern "C" {
 #ifndef _di_firewall_print_line_last_unlocked_
   f_status_t firewall_print_line_last_unlocked(firewall_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index 0ef43f708e332d30856502667f54440b927b6e34..d911e680b92f041a4858c746fde09aedb8c51d09 100644 (file)
@@ -118,7 +118,7 @@ extern "C" {
 #ifndef _di_fss_basic_list_read_print_line_first_locked_
   f_status_t fss_basic_list_read_print_line_first_locked(fss_basic_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -133,7 +133,7 @@ extern "C" {
 #ifndef _di_fss_basic_list_read_print_line_first_unlocked_
   f_status_t fss_basic_list_read_print_line_first_unlocked(fss_basic_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -148,7 +148,7 @@ extern "C" {
 #ifndef _di_fss_basic_list_read_print_line_last_locked_
   f_status_t fss_basic_list_read_print_line_last_locked(fss_basic_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -163,7 +163,7 @@ extern "C" {
 #ifndef _di_fss_basic_list_read_print_line_last_unlocked_
   f_status_t fss_basic_list_read_print_line_last_unlocked(fss_basic_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index d33d4ea23eb819e98ea1973c41087c0ad4fc5974..c2ea94c65ad7a47e07c0255caaa902b211c957e5 100644 (file)
@@ -118,7 +118,7 @@ extern "C" {
 #ifndef _di_fss_basic_read_print_line_first_locked_
   f_status_t fss_basic_read_print_line_first_locked(fss_basic_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -133,7 +133,7 @@ extern "C" {
 #ifndef _di_fss_basic_read_print_line_first_unlocked_
   f_status_t fss_basic_read_print_line_first_unlocked(fss_basic_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -148,7 +148,7 @@ extern "C" {
 #ifndef _di_fss_basic_read_print_line_last_locked_
   f_status_t fss_basic_read_print_line_last_locked(fss_basic_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -163,7 +163,7 @@ extern "C" {
 #ifndef _di_fss_basic_read_print_line_last_unlocked_
   f_status_t fss_basic_read_print_line_last_unlocked(fss_basic_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index f787c988fc522e364763871910025bb021f837ca..c207bad2cc563524593a67e877566857af12b356 100644 (file)
@@ -117,7 +117,7 @@ extern "C" {
 #ifndef _di_fss_embedded_list_read_print_line_first_locked_
   f_status_t fss_embedded_list_read_print_line_first_locked(fss_embedded_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -132,7 +132,7 @@ extern "C" {
 #ifndef _di_fss_embedded_list_read_print_line_first_unlocked_
   f_status_t fss_embedded_list_read_print_line_first_unlocked(fss_embedded_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -147,7 +147,7 @@ extern "C" {
 #ifndef _di_fss_embedded_list_read_print_line_last_locked_
   f_status_t fss_embedded_list_read_print_line_last_locked(fss_embedded_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -162,7 +162,7 @@ extern "C" {
 #ifndef _di_fss_embedded_list_read_print_line_last_unlocked_
   f_status_t fss_embedded_list_read_print_line_last_unlocked(fss_embedded_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index 57396d8b4a11775b89cb2164dba42024d23df788..f60a402d37cc50f2dac9ce5a8e67260fd98aab27 100644 (file)
@@ -118,7 +118,7 @@ extern "C" {
 #ifndef _di_fss_extended_list_read_print_line_first_locked_
   f_status_t fss_extended_list_read_print_line_first_locked(fss_extended_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -133,7 +133,7 @@ extern "C" {
 #ifndef _di_fss_extended_list_read_print_line_first_unlocked_
   f_status_t fss_extended_list_read_print_line_first_unlocked(fss_extended_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -148,7 +148,7 @@ extern "C" {
 #ifndef _di_fss_extended_list_read_print_line_last_locked_
   f_status_t fss_extended_list_read_print_line_last_locked(fss_extended_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -164,7 +164,7 @@ extern "C" {
 #ifndef _di_fss_extended_list_read_print_line_last_unlocked_
   f_status_t fss_extended_list_read_print_line_last_unlocked(fss_extended_list_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index 206d0f7a60bf6d41fb8a56175c39dff1554c2940..4e7e5d70b7a52b2afb93c11990e27e4049c16193 100644 (file)
@@ -118,7 +118,7 @@ extern "C" {
 #ifndef _di_fss_extended_read_print_line_first_locked_
   f_status_t fss_extended_read_print_line_first_locked(fss_extended_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -133,7 +133,7 @@ extern "C" {
 #ifndef _di_fss_extended_read_print_line_first_unlocked_
   f_status_t fss_extended_read_print_line_first_unlocked(fss_extended_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -148,7 +148,7 @@ extern "C" {
 #ifndef _di_fss_extended_read_print_line_last_locked_
   f_status_t fss_extended_read_print_line_last_locked(fss_extended_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -164,7 +164,7 @@ extern "C" {
 #ifndef _di_fss_extended_read_print_line_last_unlocked_
   f_status_t fss_extended_read_print_line_last_unlocked(fss_extended_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index 52982c81cdf2ea91333e88dc6f716e6bf7769004..23a8454e0ed8f2c171b3120dc91dcc20159b6ca6 100644 (file)
@@ -59,7 +59,7 @@ extern "C" {
 #ifndef _di_fss_identify_print_line_first_locked_
   f_status_t fss_identify_print_line_first_locked(fss_identify_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -74,7 +74,7 @@ extern "C" {
 #ifndef _di_fss_identify_print_line_first_unlocked_
   f_status_t fss_identify_print_line_first_unlocked(fss_identify_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -89,7 +89,7 @@ extern "C" {
 #ifndef _di_fss_identify_print_line_last_locked_
   f_status_t fss_identify_print_line_last_locked(fss_identify_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -105,7 +105,7 @@ extern "C" {
 #ifndef _di_fss_identify_print_line_last_unlocked_
   f_status_t fss_identify_print_line_last_unlocked(fss_identify_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index 1aa15e0b16201982d90ea0df390cfd8391af3de1..39e623ce7c1e31cd1f78188c377fbf4934de8b56 100644 (file)
@@ -128,7 +128,7 @@ extern "C" {
 #ifndef _di_fss_payload_read_print_line_first_locked_
   f_status_t fss_payload_read_print_line_first_locked(fss_payload_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -143,7 +143,7 @@ extern "C" {
 #ifndef _di_fss_payload_read_print_line_first_unlocked_
   f_status_t fss_payload_read_print_line_first_unlocked(fss_payload_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -158,7 +158,7 @@ extern "C" {
 #ifndef _di_fss_payload_read_print_line_last_locked_
   f_status_t fss_payload_read_print_line_last_locked(fss_payload_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -174,7 +174,7 @@ extern "C" {
 #ifndef _di_fss_payload_read_print_line_last_unlocked_
   f_status_t fss_payload_read_print_line_last_unlocked(fss_payload_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index eeceb2823f447e880fc8d72a54b50369546415b3..9c6b29d557e498ec9a81a26f634c1d49c16bbc2b 100644 (file)
@@ -166,7 +166,7 @@ extern "C" {
 #ifndef _di_fss_write_print_line_first_locked_
   f_status_t fss_write_print_line_first_locked(fss_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -182,7 +182,7 @@ extern "C" {
 #ifndef _di_fss_write_print_line_first_unlocked_
   f_status_t fss_write_print_line_first_unlocked(fss_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -198,7 +198,7 @@ extern "C" {
 #ifndef _di_fss_write_print_line_last_locked_
   f_status_t fss_write_print_line_last_locked(fss_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -214,7 +214,7 @@ extern "C" {
 #ifndef _di_fss_write_print_line_last_unlocked_
   f_status_t fss_write_print_line_last_unlocked(fss_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index ff17c236a1947a714fa0dab2829ef8b96acb1fe9..765ad1b2dc926c28a6c811332ca863d217aee385 100644 (file)
@@ -137,7 +137,7 @@ extern "C" {
 #ifndef _di_iki_read_print_line_first_locked_
   f_status_t iki_read_print_line_first_locked(iki_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -152,7 +152,7 @@ extern "C" {
 #ifndef _di_iki_read_print_line_first_unlocked_
   f_status_t iki_read_print_line_first_unlocked(iki_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -167,7 +167,7 @@ extern "C" {
 #ifndef _di_iki_read_print_line_last_locked_
   f_status_t iki_read_print_line_last_locked(iki_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -182,7 +182,7 @@ extern "C" {
 #ifndef _di_iki_read_print_line_last_unlocked_
   f_status_t iki_read_print_line_last_unlocked(iki_read_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index 7790d017a1a4955eacc3c803b7dc8bb03e35687f..0b23354876128a2e6b0caf5236d1a16f4ee7f51b 100644 (file)
@@ -141,7 +141,7 @@ extern "C" {
 #ifndef _di_iki_write_print_line_first_locked_
   f_status_t iki_write_print_line_first_locked(iki_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -156,7 +156,7 @@ extern "C" {
 #ifndef _di_iki_write_print_line_first_unlocked_
   f_status_t iki_write_print_line_first_unlocked(iki_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -171,7 +171,7 @@ extern "C" {
 #ifndef _di_iki_write_print_line_last_locked_
   f_status_t iki_write_print_line_last_locked(iki_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -186,7 +186,7 @@ extern "C" {
 #ifndef _di_iki_write_print_line_last_unlocked_
   f_status_t iki_write_print_line_last_unlocked(iki_write_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index 2792eb88273ea959e456fc1c79c4fd1effc63d59..c3a9101d5e59b19359eed2a6ac2ba3481e467747 100644 (file)
@@ -130,7 +130,7 @@ extern "C" {
 #ifndef _di_status_code_print_line_first_locked_
   f_status_t status_code_print_line_first_locked(status_code_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -145,7 +145,7 @@ extern "C" {
 #ifndef _di_status_code_print_line_first_unlocked_
   f_status_t status_code_print_line_first_unlocked(status_code_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -160,7 +160,7 @@ extern "C" {
 #ifndef _di_status_code_print_line_last_locked_
   f_status_t status_code_print_line_last_locked(status_code_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -175,7 +175,7 @@ extern "C" {
 #ifndef _di_status_code_print_line_last_unlocked_
   f_status_t status_code_print_line_last_unlocked(status_code_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
index a55f8d27f7a6e922500323c19669822c3e006282..d42e1e18e9882e91bdc5095e7c9d09d729784084 100644 (file)
@@ -347,7 +347,7 @@ extern "C" {
 #ifndef _di_utf8_print_line_first_locked_
   f_status_t utf8_print_line_first_locked(utf8_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -363,7 +363,7 @@ extern "C" {
 #ifndef _di_utf8_print_line_first_unlocked_
   f_status_t utf8_print_line_first_unlocked(utf8_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -379,7 +379,7 @@ extern "C" {
 #ifndef _di_utf8_print_line_last_locked_
   f_status_t utf8_print_line_last_locked(utf8_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;
@@ -395,7 +395,7 @@ extern "C" {
 #ifndef _di_utf8_print_line_last_unlocked_
   f_status_t utf8_print_line_last_unlocked(utf8_setting_t * const setting, const fl_print_t print) {
 
-    if (print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
+    if (!setting || print.verbosity == f_console_verbosity_quiet_e) return F_output_not;
 
     if (!F_status_is_error(setting->status)) {
       if (print.verbosity == f_console_verbosity_error_e) return F_output_not;