Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
IniFile: Prevent potential out-of-bounds access in ParseLine() #8114
While current usages of ParseLine aren't problematic, this is still a public function that can be used for other purposes. This case should still be guarded against to avoid an out of bounds read attempt in the event an empty string is ever passed to this if any other uses of this function are added elsewhere in the future (or if the existing code using it is ever changed).