os: NewFile(-1) crashes after CL 497075 #60406
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
NewFile
states "The returned value will be nil if fd is not a valid file descriptor." However, after CL 497075, NewFile crashes when passed a negative file descriptor (because newFile returns nil, which NewFile doesn't check).I'll send out a fix shortly.
cc @tklauser
The text was updated successfully, but these errors were encountered: