summaryrefslogtreecommitdiff
path: root/examples/pcap2nbench/ip.hpp
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-06 09:57:51 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-07 16:38:57 +0200
commit94f5b2f41346170fea90b4571f172df124139143 (patch)
treea6cfddfcf74b1281c1a44bf01297bd063c5f61b3 /examples/pcap2nbench/ip.hpp
parentdf9d46a353da15f68d299498f36ab0474c8e1e5a (diff)
downloadsamba-94f5b2f41346170fea90b4571f172df124139143.tar.gz
samba-94f5b2f41346170fea90b4571f172df124139143.tar.bz2
samba-94f5b2f41346170fea90b4571f172df124139143.zip
ldb:ldb_msg.c - make "ldb_msg_find_attr_as_*" more robust against invalid values
- Integer handling was modeled after validate code from "schema_syntax.c". - Double handling was modeled similar, but with a dynamic buffer. I don't know if there is a maximum literal length for double values but an allocation shouldn't a problem here since doubles are rare. - String handlind is enhanced with a terminating "0" test for safety. Reviewed-by: abartlet + metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Apr 7 16:38:57 CEST 2011 on sn-devel-104
Diffstat (limited to 'examples/pcap2nbench/ip.hpp')
0 files changed, 0 insertions, 0 deletions