diff options
author | Fritz Elfert <felfert@to.com> | 2001-07-28 11:03:06 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-07-28 11:03:06 +0000 |
commit | c6175786a87c8a244d80352658d95a321571469f (patch) | |
tree | 75f12abec706467fbd64e037bc3c58df7f13dbc9 /ncpd | |
parent | d5c20d85d0642dcb6e5f3341cc5a7d0e8e48afbb (diff) | |
download | plptools-c6175786a87c8a244d80352658d95a321571469f.tar.gz plptools-c6175786a87c8a244d80352658d95a321571469f.tar.bz2 plptools-c6175786a87c8a244d80352658d95a321571469f.zip |
Bugfix: socketChan allocated too small.
Diffstat (limited to 'ncpd')
-rw-r--r-- | ncpd/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ncpd/main.cc b/ncpd/main.cc index b9eb5af..8c4de20 100644 --- a/ncpd/main.cc +++ b/ncpd/main.cc @@ -212,7 +212,7 @@ main(int argc, char **argv) } ncp *a = new ncp(serialDevice, baudRate, iow); int numScp = 0; - socketChan *scp[a->maxLinks() + 1]; + socketChan *scp[257]; // MAX_CHANNELS_PSION + 1 a->setVerbose(nverbose); a->setLinkVerbose(lverbose); |