MusicPlayerDaemon / mpdscribble

a MPD client which submits information about tracks being played to a scrobbler (e.g. last.fm)
GNU General Public License v2.0
114 stars 15 forks source link

Daemon: wrong variable for checking user existence #17

Closed cstew2 closed 4 years ago

cstew2 commented 4 years ago

A segfault would be produced when daemon_user was set as the uninitialised global variable "user_name" was being passed to getpwnam() instead of the argument to the function "user".