bugGPSD - Bugs: bug #35266, AIVDM message type 6

 
 

bug #35266: AIVDM message type 6

Submitted by:  None
Submitted on:  Sun 08 Jan 2012 06:00:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 17 Apr 2012 08:37:42 AM UTC, comment #2:

Fix shipped in 3.5.

Eric S. Raymond <esr>
Project Administrator
Mon 09 Jan 2012 06:28:00 PM UTC, comment #1:

It's fixed now.

Eric S. Raymond <esr>
Project Administrator
Sun 08 Jan 2012 06:00:50 PM UTC, original submission:

Digging in file driver_aivdm.c of last gpsd release (3.3), I found what looks like a typo error.

In message type 6 (addressed binary message), there is a switch on the "fid" type.
Line 317 and 318:
if (ais->type8.dac == 1)
switch (ais->type8.fid)

I think we should test and switch on ais->type6.dac and .fid, since we're decoding a type 6 message.

At first sight, this problem is here since this switch has been added.

Regards,

nlg

Anonymous

 

(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

 

Carbon-Copy List
  • -unavailable- added by esr (Posted a comment)
  •  

    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
    Tue 17 Apr 2012 08:37:42 AM UTCesrOpen/ClosedOpen=>Closed
    Mon 09 Jan 2012 06:28:00 PM UTCesrStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1