You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In mj2.c the mj2_write_urn() function writes four 32bit words to the urn name field:
cio_write(cio, tk->urn[urn_num].name[0], 4);
cio_write(cio, tk->urn[urn_num].name[1], 4);
cio_write(cio, tk->urn[urn_num].name[2], 4);
cio_write(cio, tk->urn[urn_num].name[3], 4);
However, in mj2.h this array is defined as being two words long:
typedef struct mj2_urn {
int name[2];
int location[4];
} mj2_urn_t;
It will therefore overwrite location with name info, which is in turn overwritten by
location info.
Reported by per.mathisen on 2015-04-11 23:06:09
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 485
Reported by
per.mathisen
on 2015-04-11 23:06:09The text was updated successfully, but these errors were encountered: