
getsockname function
you'd have thought that after the first Linux positive ID of this 'doesnt check values' function that someone would have thought ' ah, maybe we should check all code that uses such functions and clear up any such messes in one sweep' ? no?