aboutsummaryrefslogtreecommitdiff
path: root/src/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pack.c b/src/pack.c
index e62af2b..3bf9d75 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -57,6 +57,10 @@ prne_pack_rc_t prne_index_bin_archive (
goto END;
}
+ /* FIXME
+ * Is an empty bin archive possible?
+ * This will fail when nb_bin == 0
+ */
bin = (prne_bin_tuple_t*)prne_malloc(sizeof(prne_bin_tuple_t), nb_bin);
if (bin == NULL) {
ret = PRNE_PACK_RC_ERRNO;