Commits

Colin Cross  committed 578b747 Merge

Merge "libsparse: Fix null pointer issue"

  • Participants
  • Parent commits 6e0b9ec, 83a6d36

Comments (0)

Files changed (1)

File libsparse/output_file.c

 	} else {
 		out = output_file_new_normal();
 	}
+	if (!out) {
+		return NULL;
+	}
 
 	out->ops->open(out, fd);