badly initialised memory stream (obs from J Santos).

This commit is contained in:
Costa Vitor 2009-08-31 23:56:00 -05:00
parent 8bde2a0d72
commit a00c69b6f7

View File

@ -2831,6 +2831,7 @@ open_buf_write_stream(char *nbuf, UInt sz)
st->u.mem_string.pos = 0;
st->u.mem_string.buf = nbuf;
st->u.mem_string.max_size = sz;
st->u.mem_string.src = MEM_BUF_CODE;
return sno;
}