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
Unknown Object (File)
Fri, Oct 3, 8:32 PM
Unknown Object (File)
Sun, Sep 28, 11:22 PM
Unknown Object (File)
Sep 14 2025, 5:36 AM
Unknown Object (File)
Aug 24 2025, 8:00 PM
Unknown Object (File)
Aug 16 2025, 5:48 AM
Unknown Object (File)
Aug 1 2025, 6:16 PM
Unknown Object (File)
Jul 22 2025, 10:08 AM
Unknown Object (File)
Jul 22 2025, 10:08 AM
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 Not Applicable
Unit
Tests Not Applicable