:: commit 70f81f5da64872ddbbd94559b1532889091a4fa3

Kamila Szewczyk <27734421+kspalaiologos@users.noreply.github.com> — 2023-03-27 11:56

parents: 56c24ca1f8

add a clarification on purpoted "bugs" in the decompress-file utility.

diff --git a/examples/decompress-file.c b/examples/decompress-file.c
index d75e0b5..06ca488 100644
--- a/examples/decompress-file.c
+++ b/examples/decompress-file.c
@@ -1,7 +1,8 @@
 
 /* Decompress a file SEQUENTIALLY (i.e. *not* in parallel) using bzip3 high level API. */
 /* This is just a demonstration of bzip3 library usage, it does not contain all the necessary error checks and will not
- * support cross-endian encoding/decoding. */
+ * support cross-endian encoding/decoding. It *WILL* segfault if the input file does not exist,
+ * malloc returns a NULL pointer, etc... - you are expected to handle these corner cases in your code. */
 
 #include <libbz3.h>
 #include <stdio.h>
tab: 248 wrap: offon