bugThe eXtended osip library - Bugs: bug #28451, eXtl_udp.c: bad call to snprintf

 
 

bug #28451: eXtl_udp.c: bad call to snprintf

Submitted by:  None
Submitted on:  Thu 31 Dec 2009 08:47:08 AM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Aymeric MOIZARD <aymeric>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 02 Jan 2010 02:39:03 PM UTC, comment #1:

This is fixed. Tks for report.

Aymeric MOIZARD <aymeric>
Project AdministratorIn charge of this item.
Thu 31 Dec 2009 08:47:08 AM UTC, original submission:

For file libeXosip2-3.1.0/src/eXtl_udp.c, line 225
is source code

snprintf (udp_firewall_port, 20, "%s", br->gvalue);

but

static char udp_firewall_port[10];

so the value of 20 is too large. Suggest new code

snprintf (udp_firewall_port,
sizeof udp_firewall_port,
"%s",
br->gvalue);

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 aymeric (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Jan 2010 02:39:03 PM UTCaymericSeverity3 - Normal=>2 - Minor
      StatusNone=>Fixed
      Assigned toNone=>aymeric
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1