Page MenuHomeFreeBSD

Catch uid and gid to the correct type for display to solve segfault in ls(1) on 32bit arches
ClosedPublic

Authored by allanjude on Jul 24 2015, 7:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 6:38 AM
Unknown Object (File)
Fri, Apr 26, 6:23 AM
Unknown Object (File)
Dec 20 2023, 1:03 AM
Unknown Object (File)
Nov 13 2023, 1:36 AM
Unknown Object (File)
Oct 9 2023, 12:35 AM
Unknown Object (File)
Sep 20 2023, 2:41 PM
Unknown Object (File)
Jul 9 2023, 11:04 PM
Unknown Object (File)
May 21 2023, 8:38 AM

Details

Summary

Fix error introduced in rS285734 that causes segfault on 'ls -n' in i386

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

allanjude retitled this revision from to Catch uid and gid to the correct type for display to solve segfault in ls(1) on 32bit arches.
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
allanjude added reviewers: eadler, dim, marcel.
allanjude added a subscriber: antoine.
ngie added a reviewer: ngie.
ngie added a subscriber: ngie.
ngie added inline comments.
bin/ls/print.c
195 ↗(On Diff #7273)

Please remove the space between the casts and the casted values

This revision is now accepted and ready to land.Jul 24 2015, 7:24 PM
allanjude edited edge metadata.

Fix another error detected by clang with __printflike applied to xo_emit

Remove space between casts and values

This revision now requires review to proceed.Jul 24 2015, 7:29 PM
dim edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jul 24 2015, 8:11 PM
This revision was automatically updated to reflect the committed changes.