Mailinglist Archive: opensuse-bugs (6597 mails)

< Previous Next >
[Bug 527429] New: libeXosip2-3.1.0-46.5: bad number in call to snprintf
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 2 Aug 2009 11:09:17 -0600
  • Message-id: <bug-527429-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: libeXosip2-3.1.0-46.5: bad number in call to snprintf
Classification: openSUSE
Product: openSUSE 11.2
Version: Factory
Platform: All
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---

I just had a look at factory package libeXosip2-3.1.0-46.5

For source code file libeXosip2-3.1.0/src/eXtl_udp.c
around line 220 is the source code for the
function udp_tl_learn_port_from_via.

I notice the following line of code

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


static char udp_firewall_port[10];

so the literal constant 20 looks somewhat optimistic. Suggest new code

snprintf (udp_firewall_port, sizeof udp_firewall_port, "%s",

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups