[ovs-git] Open vSwitch: sflow_agent: Use snprintf() in place of sprintf(). (branch-1.4)
dev at openvswitch.org
dev at openvswitch.org
Tue Jan 31 13:08:29 PST 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, branch-1.4 has been updated
via c5cd317a53fa4f29ab39ee364a5151f7b700ee8d (commit)
from 4675d8759d28bcc6971a76cf3e36fa4ee8e40650 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c5cd317a53fa4f29ab39ee364a5151f7b700ee8d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c5cd317a53fa4f29ab39ee364a5151f7b700ee8d
Author: Ben Pfaff <blp at nicira.com>
sflow_agent: Use snprintf() in place of sprintf().
These functions use sprintf() into a 1000-byte buffer. It appears to me
that the strings they format are either short, fixed-length strings or the
output of strerror(), neither of which should ordinarily overflow.
However, using snprintf() cannot hurt.
Launchpad bug #914160.
Reported-by: Matthias Klose <doko at ubuntu.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
lib/sflow_agent.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list