RootCauseunvalidated
The vulnerable code checks only if the name pointer is NULL — when namelen is 0 or negative and name is not NULL. Tension: does not validate that namelen is positive. Outcome: the function proceeds to dereference name[0] without verifying the string has valid content.
097db846-04f0-44bc-9ea2-ab15a5f01853
The vulnerable code checks only if the name pointer is NULL — when namelen is 0 or negative and name is not NULL. Tension: does not validate that namelen is positive. Outcome: the function proceeds to dereference name[0] without verifying the string has valid content.