Page MenuHomeFreeBSD

Fix address annotation in xml output from w
ClosedPublic

Authored by karels on Aug 24 2019, 1:09 AM.
Tags
None
Referenced Files
F163394170: D21390.id.diff
Wed, Jul 22, 7:53 PM
Unknown Object (File)
Mon, Jul 20, 6:45 AM
Unknown Object (File)
Sat, Jul 18, 12:40 AM
Unknown Object (File)
Sun, Jul 12, 11:28 PM
Unknown Object (File)
Sat, Jul 11, 3:28 PM
Unknown Object (File)
Wed, Jun 24, 5:48 AM
Unknown Object (File)
Jun 21 2026, 3:36 PM
Unknown Object (File)
Jun 15 2026, 3:40 PM
Subscribers

Details

Summary

The libxo xml feature of adding an annotation with the "original"
address from the utmpx file if it is different than the final "from"
field was broken by r351379. This was pointed out by the gcc error
that save_p might be used uninitialized. Save the original address
as needed in each entry, don't just use the last one from the previous
loop.

Test Plan

compared output to older version, is once again the same

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26058
Build 24601: arc lint + arc unit