l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in task server startup code


From: cascardo
Subject: Re: bug in task server startup code
Date: Sun, 15 Aug 2004 19:18:29 -0300
User-agent: Mutt/1.5.6+20040523i

I don't think it's related to this bug you've found, since it would make
an address 0 invalid access. In mem_add_task (or something like that), a
piece of code like:

first_task->prev = task;
first_task = task;

is a buggy one, since first_task in initialized to NULL.
A simple correction would be:

if (first_task != NULL)
  first_task->prev = task;
first_task = task;

Since it's very simple, I think you won't care about not having a full
patch file neither my signature of FSF papers.

I've seen address 4 being invalid accessed by tasks running over L4 when
using Doug Leas' malloc. I thinks this occurred when mmap did not return
the mmaped address. If malloc is used in physmem, this would shed some
light, I expect.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]