[Pianod] select_nobody_user bug in pianod-150?

Gary Koch garyckoch at att.net
Sat Nov 2 22:18:56 PDT 2013


I recently installed pianod-150 on an Atom system running Arch Linux.  pianod worked great under my user account, but refused to start when started as root (systemctl start or sudo).  It would alternatively display “select_nobody_user: calloc” or “select_nobody_user: realloc” messages and exit.  I did some debugging, and figured out that the requested size passed to realloc and calloc (nobody_groups_size) was obviously wrong - very large, and often negative.  I changed line 83 of src/settings.c to initialize nobody_groups_size to 0 and the problems went away.

Gary Koch


More information about the Pianod mailing list