We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a5ec23 commit 0db054aCopy full SHA for 0db054a
lib/eventlog/eventlog.c
@@ -276,7 +276,7 @@ closefrom_nodebug(int lowfd)
276
#define MAX_MAILFLAGS 63
277
278
sudo_noreturn static void
279
-exec_mailer(int pipein)
+exec_mailer(int pipein) // -V1082
280
{
281
const struct eventlog_config *evl_conf = eventlog_getconf();
282
char *last, *mflags, *p, *argv[MAX_MAILFLAGS + 1];
@@ -304,7 +304,7 @@ exec_mailer(int pipein)
304
305
/* Build up an argv based on the mailer path and flags */
306
if ((mflags = strdup(evl_conf->mailerflags)) == NULL) {
307
- syslog(LOG_ERR, _("unable to allocate memory")); // -V618
+ syslog(LOG_ERR, "%s", _("unable to allocate memory"));
308
goto bad;
309
}
310
argv[0] = sudo_basename(mpath);
0 commit comments