Nil pointer dereference when parsing nested struct with nil pointer
Nil pointer dereference when parsing nested struct with nil pointer: a task in harness-adapters: Agentic coding environments (Harbor dataset). When parsing environment variables into a struct that contains a pointer to another struct, and that pointer is nil, the parser crashes with a nil pointer…
The task
When parsing environment variables into a struct that contains a pointer to another struct, and that pointer is nil, the parser crashes with a nil pointer dereference instead of properly initializing the nested struct.
Part of harness-hub/harness-adapters.