diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-05 01:50:12 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-05 03:11:11 -0700 |
| commit | 92b3f5b3779c6ad07c286b3d1cc0d3c6b8445ecf (patch) | |
| tree | 96aa6591cba61b6dbc02ae8e87fc38a00ee1f8b0 /pkg/blind | |
| parent | 3affc957d16f8fe3d9072186679aeaedd9c9edb3 (diff) | |
blind: Fix use of uninitialized variable
Diffstat (limited to 'pkg/blind')
| -rw-r--r-- | pkg/blind/patch/0001-Fix-use-of-uninitialized-variable.patch | 25 | ||||
| -rw-r--r-- | pkg/blind/ver | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/pkg/blind/patch/0001-Fix-use-of-uninitialized-variable.patch b/pkg/blind/patch/0001-Fix-use-of-uninitialized-variable.patch new file mode 100644 index 00000000..b8881a72 --- /dev/null +++ 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 index 35afadfe..d6e8d943 100644 --- a/pkg/blind/ver +++ b/pkg/blind/ver @@ -1 +1 @@ -1.1 r2 +1.1 r3 |
