DragonFlyBSD Kernel Audit
DF-0833 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/vfs/udf/udf_vnops.c b/sys/vfs/udf/udf_vnops.c
--- a/sys/vfs/udf/udf_vnops.c
+++ b/sys/vfs/udf/udf_vnops.c
@@ -388,7 +388,8 @@
 	struct buf *bp;
 	uint8_t *data;
 	int error = 0;
-	int size, fsize, offset;
+	int size, offset;
+	int64_t fsize;
 
 	if (uio->uio_offset < 0)
 		return(EINVAL);