In KSycocaFactory constructor, the m_stream is only initialized when the sycoca is not building. In KServiceFactory constructor, this stream is used after the same check, but I am not sure if between those two checks the value of isBuilding() could change.
I see the following problem:
In KSycocaFactory constructor, the m_stream is only initialized when the sycoca is not building. In KServiceFactory constructor, this stream is used after the same check, but I am not sure if between those two checks the value of isBuilding() could change.