status_t OMXCodec::initNativeWindow() {
 status_t err = mOMX->enableGraphicBuffers(mNode, kPortIndexOutput, OMX_TRUE);
 if (err != 0) {
 return err;
 }

 return OK;
}

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.