status_t OMXCodec::allocateBuffers() {
 status_t err = allocateBuffersOnPort(kPortIndexInput);

 if (err != OK) {
 return err;
 }

 return allocateBuffersOnPort(kPortIndexOutput);
}

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