badly initialised memory stream (obs from J Santos).
This commit is contained in:
parent
8bde2a0d72
commit
a00c69b6f7
@ -2831,6 +2831,7 @@ open_buf_write_stream(char *nbuf, UInt sz)
|
|||||||
st->u.mem_string.pos = 0;
|
st->u.mem_string.pos = 0;
|
||||||
st->u.mem_string.buf = nbuf;
|
st->u.mem_string.buf = nbuf;
|
||||||
st->u.mem_string.max_size = sz;
|
st->u.mem_string.max_size = sz;
|
||||||
|
st->u.mem_string.src = MEM_BUF_CODE;
|
||||||
return sno;
|
return sno;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user