-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-10-25 02:20:24 UTC by sf-robot
-
Can you give an example code that crashes? fread should not crash if you try to read too much data. See an example below. Note that the return value of fread is the actual number of objects read.
chulbert@maclap ~$ cat junk.c
#include
#include
int main(void)
{
FILE *fp;
size_t n1,n2;
unsigned char buf[100];
fp = fopen("junk","rb");
n1 =...
2009-10-10 22:25:52 UTC by chulbe2lsu
-
chulbe2lsu changed the public information on the MAT File I/O Library project.
2009-10-10 21:58:27 UTC by chulbe2lsu
-
In inflate.c, line 661 it seems
z->avail_in = fread(comp_buf,1,nBytes,mat->fp);
should instead be:
z->avail_in = fread(comp_buf,1,nBytes-bytesread,mat->fp);
read5 was crashing for me until I made that change to the file.
- Scovil.
2009-09-29 21:19:43 UTC by nobody
-
NB : at the moment, I'm a happy user of matio and I get the functionality I want (which may be too specific/hacky to be included in the lib) in a wrapping library.
2009-08-13 15:34:32 UTC by zougloub
-
Hi,
For a lot of reasons, writing to .mat files is a little less dumb than writing to CSV files...
However, I did not find (maybe I didn't look too well) a way to append a row of data in an array in the API docs.
Is there such a way ?
Regards,
2009-08-12 22:05:11 UTC by zougloub
-
In function Mat_Mat_VarReadDataLinear() a typo causes corrupt data read:
Change line mat.c:1416 from:
InflateDataType(mat,matvar,tag);
To:
InflateDataType(mat,matvar->z,tag);
Note the "->z".
2009-07-04 04:39:50 UTC by nobody
-
chulbe2lsu committed revision 111 to the MAT File I/O Library SVN repository, changing 1 files.
2009-01-19 20:19:38 UTC by chulbe2lsu
-
chulbe2lsu committed revision 110 to the MAT File I/O Library SVN repository, changing 1 files.
2009-01-19 20:18:17 UTC by chulbe2lsu
-
Fixed in revision 108 (trunk) and 109 (branches/matio_1_5_0_branch).
2009-01-15 00:42:42 UTC by chulbe2lsu