Mailinglist Archive: opensuse-bugs (4174 mails)

< Previous Next >
[Bug 515029] New: libeXosip2-3.1.0-45.34: bad size on call to snprintf
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 21 Jun 2009 04:19:31 -0600
  • Message-id: <bug-515029-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=515029


Summary: libeXosip2-3.1.0-45.34: bad size on 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-45.34

In file libeXosip2-3.1.0/src/eXtl_udp.c,
around line 225, is the source code

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

but

static char udp_firewall_port[10];

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

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

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups