logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 92b3f5b3779c6ad07c286b3d1cc0d3c6b8445ecf
parent 3affc957d16f8fe3d9072186679aeaedd9c9edb3
Author: Michael Forney <mforney@mforney.org>
Date:   Fri,  5 Jun 2020 01:50:12 -0700

blind: Fix use of uninitialized variable

Diffstat:

M.gitmodules1+
Apkg/blind/patch/0001-Fix-use-of-uninitialized-variable.patch25+++++++++++++++++++++++++
Mpkg/blind/ver2+-
3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/.gitmodules b/.gitmodules @@ -22,6 +22,7 @@ [submodule "pkg/blind/src"] path = pkg/blind/src url = git://git.suckless.org/blind + ignore = all [submodule "pkg/bzip2/src"] path = pkg/bzip2/src url = git://sourceware.org/git/bzip2.git diff --git a/pkg/blind/patch/0001-Fix-use-of-uninitialized-variable.patch b/pkg/blind/patch/0001-Fix-use-of-uninitialized-variable.patch @@ -0,0 +1,25 @@ +From 2a0a318dc7fbb930842cd2af44b9802e183b342e Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Fri, 5 Jun 2020 01:49:20 -0700 +Subject: [PATCH] Fix use of uninitialized variable + +--- + src/blind-from-video.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/blind-from-video.c b/src/blind-from-video.c +index d34e2aa..b1a5430 100644 +--- a/src/blind-from-video.c ++++ b/src/blind-from-video.c +@@ -231,7 +231,7 @@ main(int argc, char *argv[]) + } + + if (skip_length) { +- SPRINTF_HEAD_ZN(head, frames, width, height, "xyza", &headlen); ++ SPRINTF_HEAD_ZN(head, 0, width, height, "xyza", &headlen); + ewriteall(outfd, head, (size_t)headlen, outfile); + } + +-- +2.27.0 + diff --git a/pkg/blind/ver b/pkg/blind/ver @@ -1 +1 @@ -1.1 r2 +1.1 r3