Commit Graph

6 Commits

Author SHA1 Message Date
plunky 5bbcd2919f when placing an attribute/value pair, validate that the value given
is a single data element
2011-04-16 07:19:36 +00:00
plunky 63f86cb4b8 Don't add the passed in 'len' value while testing if the data
space is large enough, to handle the edge case where len is
large (up to SSIZE_MAX may be valid on some machines) causing
pointers to wrap around and the fail condition to be missed.
2011-04-05 18:19:04 +00:00
plunky 354f9cc3c3 correct inverted logic (if sdp_put_data fails, sdp_put_attr should fail) 2011-04-04 19:51:33 +00:00
plunky 9dc6fb5c3d quell some lint warnings 2010-11-13 19:43:56 +00:00
plunky 8ebedbbb87 fix some signed vs unsigned comparison issues 2009-05-14 19:12:45 +00:00
plunky dfbf818a22 Add in the new Service Discovery Protocol API as announced previously in
http://mail-index.netbsd.org/tech-userlevel/2009/02/27/msg001764.html

  in lib/libbluetooth, add new SDP functions and bump minor version
  replace usr.sbin/sdpd with new version
  install sdp.h and sdp.3 from lib/libbluetooth

(Don't remove libsdp yet since some programs still refer to it)
2009-05-12 10:05:06 +00:00