Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 08:20:44 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/sysutils/doinkd Makefile ports/sysutils/doinkd/files patch-doinkd.c
Message-ID:  <201201050820.q058KiQM018355@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cy          2012-01-05 08:20:44 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/doinkd      Makefile 
  Added files:
    sysutils/doinkd/files patch-doinkd.c 
  Log:
  When 'Doinkd' is started as a service and there are no users actually
  logged into system it segfaults (signal 11).
  
  There is a bug in the 'chk_maxuser' function. When it receives as a
  prameter 'user==NULL' following condition:
  
  if (user->mgroup != 0) {
  
  causes a segfault. Bug can be very easy reproduced and tracked by
  gdb (core dumps have to be enabled).
  
  Tested fix is:
  
  if (user != NULL && user->mgroup != 0) {
  
  Obtained from:  doinkd bug ID at Sourceforge: 1652293
                  http://sourceforge.net/tracker/?func=detail&aid=1652293&group_id=168453&atid=846828
  
  Revision  Changes    Path
  1.21      +2 -4      ports/sysutils/doinkd/Makefile
  1.1       +11 -0     ports/sysutils/doinkd/files/patch-doinkd.c (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201050820.q058KiQM018355>