diff options
author | Cy Schubert <cy@FreeBSD.org> | 2012-01-05 08:20:44 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2012-01-05 08:20:44 +0000 |
commit | 295a80f62ec31ac27c5152f314a0cd5325195938 (patch) | |
tree | 60dbd7918bc1cd7d24984d416e0462680e4dc92a /devel/py-Products.CMFEditions | |
parent | 0173e7cb26bc07e8f5ba1e7a4fb81f7043e8ca0e (diff) |
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
Notes
Notes:
svn path=/head/; revision=288542
Diffstat (limited to 'devel/py-Products.CMFEditions')
0 files changed, 0 insertions, 0 deletions