Commit 01d741af authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Fix a segfault in fprint_tsv

parent 4f82045a
......@@ -405,13 +405,12 @@ void blc_array::fprint_tsv(FILE *file){
default:
EXIT_ON_ARRAY_ERROR(this, "You cannot display type: '%.4s'", UINT32_TO_STRING(type_str, type));
}
//I increment what I have just done
j+=length;
dim++;
}
else
{
//I increment what I have just done
j+=tmp_dims[dim-1].length;
tmp_dims[dim].length--;
if (tmp_dims[dim].length == 0)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment