On Mon, Jan 11, 2010 at 11:03 AM, Christopher Smith <cbsm...@gmail.com>wrote:
> I hate to quibble on this, but strictly speaking: > > > for (int i = 0; i < some_vector.size(); i++) > > is not perfectly valid unless you have verified that some_vector.size() < > static_cast<size_t>(std::numeric_limits<int>::max()); > Good point, but I think overflow and signedness are different issues. The protobuf library has mechanisms to protect against overflows, the main one being the 64MB message size limit.--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.