[Bug 1873] Not enough workspace reserved with RTEMS Debug enabled.

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Aug 4 06:23:35 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1873

--- Comment #7 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-08-04 01:23:26 CDT ---
(In reply to comment #5)
> Chris/Sebastian.. The other thing I tripped across was a Workspace Allocate
> call from ./libfs/src/devfs/devfs_init.c.  Off hand, I don't know if it is
> accounted for but it seems like this memory should have been malloc'ed.  What
> do you two thing.

I think this devfs needs a general review.  It should not allocate the table,
instead it should get it via the data parameter of the mount call.  There is no
need for global variables here.

This is also bad:

./devfs_mknod.c:  device_name_table[slot].device_name  = (char *)path;

There is also at least one multi-threading issue (for loop in devfs_eval.c).

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list