8b8af0
diff -up cyrus-sasl-2.1.27/include/makemd5.c.coverity cyrus-sasl-2.1.27/include/makemd5.c
8b8af0
--- cyrus-sasl-2.1.27/include/makemd5.c.coverity	2021-04-12 15:10:25.421431535 +0200
8b8af0
+++ cyrus-sasl-2.1.27/include/makemd5.c	2021-04-12 15:56:46.752827737 +0200
8b8af0
@@ -107,7 +107,6 @@ my_strupr(char *s)
8b8af0
     }	
8b8af0
 }
8b8af0
 
8b8af0
-
8b8af0
 #define BITSIZE(TYPE)						\
8b8af0
 {								\
8b8af0
     int b = 0; TYPE x = 1, zero = 0; char *pre = "U";		\
8b8af0
@@ -129,6 +128,8 @@ my_strupr(char *s)
8b8af0
 static void
8b8af0
 try_signed(FILE *f, int len)
8b8af0
 {
8b8af0
+/* Local macros for not-installed program. No coverity/compiler issues! */
8b8af0
+#pragma GCC diagnostic ignored "-Wformat-overflow"
8b8af0
 #ifdef HAVE_INT8_T
8b8af0
     BITSIZE(int8_t);
8b8af0
 #endif
8b8af0
@@ -149,6 +150,7 @@ try_signed(FILE *f, int len)
8b8af0
     BITSIZE(long long);
8b8af0
 #endif
8b8af0
     fprintf(f, "/* There is no %d bit type */\n", len);
8b8af0
+#pragma GCC pop
8b8af0
 }
8b8af0
 
8b8af0
 static void
8b8af0
diff -up cyrus-sasl-2.1.27/saslauthd/lak.c.coverity cyrus-sasl-2.1.27/saslauthd/lak.c
8b8af0
--- cyrus-sasl-2.1.27/saslauthd/lak.c.coverity	2018-11-08 18:29:57.000000000 +0100
8b8af0
+++ cyrus-sasl-2.1.27/saslauthd/lak.c	2021-04-12 15:10:25.433431630 +0200
8b8af0
@@ -337,9 +337,9 @@ static int lak_config_read(
8b8af0
          EMPTY(conf->group_search_base) )
8b8af0
         strlcpy(conf->group_search_base, conf->search_base, LAK_DN_LEN);
8b8af0
         
8b8af0
-	fclose(infile);
8b8af0
+    fclose(infile);
8b8af0
 
8b8af0
-	return LAK_OK;
8b8af0
+    return LAK_OK;
8b8af0
 }
8b8af0
 
8b8af0
 static int lak_config_int(
8b8af0
diff -up cyrus-sasl-2.1.27/saslauthd/saslauthd-main.c.coverity cyrus-sasl-2.1.27/saslauthd/saslauthd-main.c
8b8af0
--- cyrus-sasl-2.1.27/saslauthd/saslauthd-main.c.coverity	2018-01-19 15:13:40.000000000 +0100
8b8af0
+++ cyrus-sasl-2.1.27/saslauthd/saslauthd-main.c	2021-04-12 15:10:25.433431630 +0200
8b8af0
@@ -833,7 +833,8 @@ void detach_tty() {
8b8af0
     }
8b8af0
     
8b8af0
     logger(L_INFO, L_FUNC, "master pid is: %lu", (unsigned long)master_pid);
8b8af0
-    
8b8af0
+    /* null_fd expected to be more than 2, so it is closed after dups, no leaks occur */
8b8af0
+    /* coverity[leaked_handle : FALSE]*/
8b8af0
     return;
8b8af0
 }
8b8af0