*/}}
Explorar o código

EMERGENCY: Write raw chunked should write size 0 when chunk is empty. Otherwise will break file!

YimingWu hai 6 meses
pai
achega
c128be2c2d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      la_data.c

+ 2 - 0
la_data.c

@@ -2792,6 +2792,8 @@ void la_WriteRawProp(laUDF *udf, laPropPack *pp){
             if(totalsize){
                 for(int i=0;i<chunks;i++){ if(sizes[i] && pointers[i]){ la_WriteSized(udf,pointers[i],sizes[i]); free(pointers[i]); } }
             }
+        }else{
+            la_WriteUInt(udf,0); // no size
         }
         return;
     }