[Bug 1627] New: sessreg: uninitialized fields in the logged utmp structure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 13 13:58:16 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1627        
   
           Summary: sessreg: uninitialized fields in the logged utmp
                    structure
           Product: xorg
           Version: 6.8.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: App/xdm
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: egmont at uhulinux.hu


root:~# utmpdump /var/run/utmp | grep :0
Utmp dump of /var/run/utmp
root:~# sessreg -w /var/log/wtmp -u /var/run/utmp -a -l :0 egmont
root:~# utmpdump /var/run/utmp | grep :0
Utmp dump of /var/run/utmp
[7] [03093] [:0  ] [egmont  ] [:0          ] [                    ] [48.251.252.
183 ] [Wed Oct 13 22:51:53 2004    ]

That 48.251.252.183 has nothing to do with my IP address. It's just some random 
garbage logged since sessreg only initializes fields in the utmp structure it 
knows about, and leaves random noise in other fields.

Patch follows.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list