Projects
Factory:RISC-V:Base
keyutils
_service:tar_scm:bugfix-fix-argv-string-out-of-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:bugfix-fix-argv-string-out-of-bounds.patch of Package keyutils
From 8645960b76db8ff5986efc60f7d2b77b8c5c0094 Mon Sep 17 00:00:00 2001 From: sunguoshuai <sunguoshuai@huawei.com> Date: Fri, 10 May 2019 16:33:10 +0800 Subject: [PATCH] add monotonic timestamp for bugfix of rsyslog-7.4.7 imjournal reason: add monotonic timestamp for bugfix of rsyslog-7.4.7 imjournal Signed-off-by: sunguoshuai <sunguoshuai@huawei.com> --- keyctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyctl.c b/keyctl.c index 801a864..f13c2a1 100644 --- a/keyctl.c +++ b/keyctl.c @@ -197,7 +197,7 @@ void do_command(int argc, char **argv, for (cmd = commands; cmd->name; cmd++) { if (!cmd->action) continue; - if (strlen(cmd->name) > n) + if (strlen(cmd->name) != n) continue; if (memcmp(cmd->name, *argv, n) != 0) continue; -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2