diff options
author | Ben Pfaff <blp@nicira.com> | 2012-01-31 09:39:28 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-01-31 13:05:13 -0800 |
commit | fe13b0e71752a5eb30b21e7a09d2f9370bc02387 (patch) | |
tree | b892bfd1e68e3aa39acadccaa2a7cc7455bdcdac /rhel/etc_sysconfig_network-scripts_ifup-ovs | |
parent | ef13dc11ad6ec612954bd5b59751cc437f504e65 (diff) |
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@ubuntu.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'rhel/etc_sysconfig_network-scripts_ifup-ovs')
0 files changed, 0 insertions, 0 deletions