Merge "Add null check for fgets in BufferQueueCore" into rvc-dev