~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to svr-main.c

  • Committer: Bazaar Package Importer
  • Author(s): Matt Johnston
  • Date: 2005-12-08 19:20:21 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051208192021-nyp9rwnt77nsg6ty
Tags: 0.47-1
* New upstream release.
* SECURITY: Fix incorrect buffer sizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
                                                                getaddrhostname(&remoteaddr),
285
285
                                                                addrstring);
286
286
                                /* don't return */
287
 
                                assert(0);
 
287
                                dropbear_assert(0);
288
288
                        }
289
289
                        
290
290
                        /* parent */
375
375
 
376
376
                TRACE(("listening on '%s'", svr_opts.ports[i]))
377
377
 
378
 
                nsock = dropbear_listen(NULL, svr_opts.ports[i], &sock[sockpos], 
 
378
                nsock = dropbear_listen("", svr_opts.ports[i], &sock[sockpos], 
379
379
                                sockcount - sockpos,
380
380
                                &errstring, maxfd);
381
381