cvs commit: src/sys/kern kern_descrip.c

John-Mark Gurney gurney_j at efn.org
Thu Jun 19 11:21:46 PDT 2003


Mike Silbersack wrote this message on Thu, Jun 19, 2003 at 14:03 -0500:
> 
> On Thu, 19 Jun 2003, Dmitry Sivachenko wrote:
> 
> > > Oh, btw; while running my fd hog program as root, cron decided to core.
> > > Someone should take a look at it and figure out where it doesn't check the
> > > return value of something which allocates a fd (or socket?)
> > >
> >
> > bin/49096 ?
> 
> That looks like it might be it, I'll give it a try and commit it if solves
> the problem for me.

Actually, that patch should be committed even if it doesn't solve the
problem.  The if (in == NULL) is useless since we already tried to
read a char from it.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the cvs-all mailing list