avg-I commented on this pull request.
> @@ -4924,12 +4924,18 @@ zdb_embedded_block(char *thing)
exit(1);
}
ASSERT3U(BPE_GET_LSIZE(&bp), <=, SPA_MAXBLOCKSIZE);
+ buf = malloc(SPA_MAXBLOCKSIZE);
+ if (buf == NULL) {
+ (void) printf("out of memory\n");
Then that is another bug to fix.
fprintf(stderr) is what is used predominantly in the file and it's obviously a
better option for error reporting.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/635#discussion_r186390797
------------------------------------------
openzfs: openzfs-developer
Permalink:
https://openzfs.topicbox.com/groups/developer/discussions/T878c8282c1bf80d5-Mc6feb05edf1ea6ccbffa9f0a
Delivery options: https://openzfs.topicbox.com/groups