Skip to content

API docs: LSIF: fix nil pointer deref in DocumentationPathInfo requests

Warren Gifford requested to merge sg/apidocs-nil-pointer-deref into main

Created by: slimsag

This fixes an issue where DocumentationPathInfo requests could result in a nil pointer deref in some situations, because get can return nil if there is no path info for a path ID. I think this is rare and would likely only occur in some situations where the backend is not functioning properly, but good to handle.

Signed-off-by: Stephen Gutekanst [email protected]

Merge request reports

Loading