okay, I suspect the pointer is just returned NULL, the for loop is just incrementing the memory address. Eventually, the pointer is incremented enough that it points outside of the application memory address space triggering SIGSEGV for memory access violation
okay, I suspect the pointer is just returned NULL, the for loop is just incrementing the memory address. Eventually, the pointer is incremented enough that it points outside of the application memory address space triggering SIGSEGV for memory access violation
[1]https:/ /github. com/OpenSCAP/ openscap/ blob/7f94172ec6 9cf887b2347f3af f7c17389c629047 /src/OVAL/ probes/ unix/linux/ systemdunitdepe ndency_ probe.c# L156 /github. com/OpenSCAP/ openscap/ blob/7f94172ec6 9cf887b2347f3af f7c17389c629047 /src/OVAL/ probes/ unix/linux/ systemdunitdepe ndency_ probe.c# L159
[2] https:/
pointer is just incremented repeatedly /github. com/OpenSCAP/ openscap/ blob/7f94172ec6 9cf887b2347f3af f7c17389c629047 /src/OVAL/ probes/ unix/linux/ systemdunitdepe ndency_ probe.c# L165 - the function just returns, the value is invalid /github. com/OpenSCAP/ openscap/ blob/7f94172ec6 9cf887b2347f3af f7c17389c629047 /src/OVAL/ probes/ unix/linux/ systemdunitdepe ndency_ probe.c# L159
[3] https:/
[4] https:/
for loop continues, pointer memory address is incremented.
thats my suspicion I'd need to recompile openscap with optimisation disabled to confirm