diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-15 16:18:44 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-15 16:18:44 +0900 |
| commit | e58b6eb17110e266be07db10d2af212b58cc8f0f (patch) | |
| tree | 1546dde10e378786cd163b2b42680986b906309d /internal/rosa/package/net-tools/f84cd22a921c25c56a6c194d4825dbd9ceea0e5f.patch | |
| parent | 1625aaee80de62380cc40974ae9bd266b3df32e4 (diff) | |
internal/rosa/package: net-tools
These are nice to have, but will not be included in the base system.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/net-tools/f84cd22a921c25c56a6c194d4825dbd9ceea0e5f.patch')
| -rw-r--r-- | internal/rosa/package/net-tools/f84cd22a921c25c56a6c194d4825dbd9ceea0e5f.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/internal/rosa/package/net-tools/f84cd22a921c25c56a6c194d4825dbd9ceea0e5f.patch b/internal/rosa/package/net-tools/f84cd22a921c25c56a6c194d4825dbd9ceea0e5f.patch new file mode 100644 index 00000000..6ba420f3 --- /dev/null +++ b/internal/rosa/package/net-tools/f84cd22a921c25c56a6c194d4825dbd9ceea0e5f.patch @@ -0,0 +1,22 @@ +From f84cd22a921c25c56a6c194d4825dbd9ceea0e5f Mon Sep 17 00:00:00 2001 +From: Bernd <bernd@eckenfels.net> +Date: Sat, 22 Mar 2025 00:17:10 +0100 +Subject: [PATCH] Update proc.c; remove redundant null check (CodeQL #3) (#44) + +--- + lib/proc.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/proc.c b/lib/proc.c +index ce85fd1..d51d09f 100644 +--- a/lib/proc.c ++++ b/lib/proc.c +@@ -35,7 +35,7 @@ char *proc_gen_fmt(const char *name, int more, FILE * fh,...) + if (!strcmp(title, head)) { + strcat(format, va_arg(ap, char *)); + title = va_arg(ap, char *); +- if (!title || !head) ++ if (!title) + break; + } else { + strcat(format, "%*s"); /* XXX */ |
