> - sfl_agent_*error uses a fixed length buffer. is it ensured that it won't overflow?
I only see calls to that function with short, fixed strings. The buffer is 1000 bytes. I don't see how it could overflow.
However, it can't hurt to switch to snprintf(), so I posted a patch to ovs-dev: http://openvswitch.org/pipermail/dev/2012-January/014601.html
> - sfl_agent_*error uses a fixed length buffer. is it ensured that it won't overflow?
I only see calls to that function with short, fixed strings. The buffer is 1000 bytes. I don't see how it could overflow.
However, it can't hurt to switch to snprintf(), so I posted a patch to ovs-dev: http:// openvswitch. org/pipermail/ dev/2012- January/ 014601. html