There are a few calls of memset() to stream->resources, but they allare called in a wrong size, sizeof(unsigned char) * VORTEX_RESOURCE_LAST,while this field is a u32 array. This may leave the memories notzero-cleared.

Fix it by replacing them with a simpler sizeof(stream->resources)instead.