Skip to content

x/sys/unix: copy ParseDirent fixes from CL 23780 #19754

@cespare

Description

@cespare

CL 23780 fixed unsafe use of unsafe in syscall.ParseDirent (see #15653). This patch never made it to x/sys/unix.


Side note: is there any automated process to ensure patches migrate from syscall to x/sys/unix? I had been moving all my code away from syscall, but this sort of thing makes me wonder if that's a bad idea because syscall might get more scrutiny than x/sys/unix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions