Fix bug spotted by Avery Pennarun: getusername() and getgroupname() can reuse the...
authorRob Landley <rob@landley.net>
Sun, 19 Aug 2012 02:12:02 +0000 (21:12 -0500)
committerRob Landley <rob@landley.net>
Sun, 19 Aug 2012 02:12:02 +0000 (21:12 -0500)
commit12800a81645bb32b13c3d4cee47945b2752500c5
treeef9133adf4e9d1e42d64fb92e694af7541694167
parent734206bd09aaba9c3175be557e4f35b095df1ccf
Fix bug spotted by Avery Pennarun: getusername() and getgroupname() can reuse the utoa buffer when neither is recognized, meaning uid would be shown again instead of gid.
toys/ls.c