logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0001-Fix-use-of-uninitialized-variable.patch (711B)


  1. From 2a0a318dc7fbb930842cd2af44b9802e183b342e Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Fri, 5 Jun 2020 01:49:20 -0700
  4. Subject: [PATCH] Fix use of uninitialized variable
  5. ---
  6. src/blind-from-video.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/blind-from-video.c b/src/blind-from-video.c
  9. index d34e2aa..b1a5430 100644
  10. --- a/src/blind-from-video.c
  11. +++ b/src/blind-from-video.c
  12. @@ -231,7 +231,7 @@ main(int argc, char *argv[])
  13. }
  14. if (skip_length) {
  15. - SPRINTF_HEAD_ZN(head, frames, width, height, "xyza", &headlen);
  16. + SPRINTF_HEAD_ZN(head, 0, width, height, "xyza", &headlen);
  17. ewriteall(outfd, head, (size_t)headlen, outfile);
  18. }
  19. --
  20. 2.27.0