ref: febd271a231c83b67d94e6cb2b9942edfe37e363
parent: 88e7d39827655b69b740927e5847398afa47a999
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon Aug 9 11:18:51 EDT 2021
ivf: correct code check
--- a/stream_ivf.c
+++ b/stream_ivf.c
@@ -143,7 +143,7 @@
u8int *buf;
int n;
- if(Bu32le(s->b, &sz) < 0 || Bu64le(s->b, ×tamp) || (int)sz < 0){
+ if(Bu32le(s->b, &sz) < 0 || Bu64le(s->b, ×tamp) < 0 || (int)sz < 0){
/* eof */
f->sz = 0;
return 0;