bugGPSD - Bugs: bug #44602, Incorrect arguments in NITEMS...

 
 

bug #44602: Incorrect arguments in NITEMS macro calls

Submitted by:  Zbigniew Chyla <zchyla_nokia>
Submitted on:  Sun 22 Mar 2015 07:48:46 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Eric S. Raymond <esr>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 22 Mar 2015 07:55:02 PM UTC, comment #1:

The attached patches fix the error and prevent similar errors in the future.

(file #33421, file #33422)

Zbigniew Chyla <zchyla_nokia>
Sun 22 Mar 2015 07:48:46 PM UTC, original submission:

I've found two incorrect calls of NITEMS macro - instead of using an array as the macro's argument, the code uses first element of the array.

Zbigniew Chyla <zchyla_nokia>

 

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

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by esr (Updated the item)
  • -unavailable- added by zchyla_nokia (Submitted the item)
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 Jun 2015 02:14:04 PM UTCesrOpen/ClosedOpen=>Closed
    Sun 22 Mar 2015 08:08:25 PM UTCesrStatusNone=>Fixed
      Assigned toNone=>esr
    Sun 22 Mar 2015 07:55:02 PM UTCzchyla_nokiaAttached File-=>Added 0001-Add-compile-time-check-for-arg-type-to-NITEMS.patch, #33421
      Attached File-=>Added 0002-Fix-incorrect-arguments-in-NITEMS-macro-calls.patch, #33422

    Back to the top


    Powered by Savane 3.1-cleanup1