bugTransport Sample Protocol - Bugs: bug #14563, automatic subscribe does not check...

 
 

bug #14563: automatic subscribe does not check type and size...

Submitted by:  Eric NOULARD <erk>
Submitted on:  Sun 18 Sep 2005 04:43:42 PM UTC  
 
Category: BlackboardSeverity: 3 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 23 Oct 2005 09:46:44 AM UTC, comment #1:

Now fixed in CVS.
Will be in 0.7.0.

Eric NOULARD <erk>
Project Administrator
Sun 18 Sep 2005 04:43:42 PM UTC, original submission:

When re-using an already existing blackboard
a "publish" will trigger "automatic" resubscribe
to existing data.

The automatic subscribe feature does not check
type and size, in fact only name is checked.

If ones modify and recompile its code using
same varname and differing size (or type)
and run the freshly compiled program without
bb_destroy[ing] the old blackboard.

The automatic subscribe will get you wrong size
memory, if you have made you "varname" bigger
you will get "Core Dump" or worse
overlap blackboard neighbour of the old "varname".

I think automatic subscribe should return NULL
if type or size do not matche the old published var.
We will have a sooner and clearer core dump.
(SIGSEGV)

Eric NOULARD <erk>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 23 Oct 2005 09:46:43 AM UTCerkStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1