HomeFreeBSD

sort: Fix random sort

Description

sort: Fix random sort

bwsrawdata() is supposed to return the string buffer.

PR: 259451
Reported by: sigsys@gmail.com
Fixes: d053fb22f6d3 ("usr.bin/sort: Avoid UBSan errors")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Oct 29 2021, 6:25 PM
Parents
rG74e9b5f29ad0: Merge commit 'ce929fe84f9c453263af379f3b255ff8eca01d48'
Branches
Unknown
Tags
Unknown