summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2013-05-22 00:49:57 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-05-22 05:04:40 +0000
commit44a7759b2971c326852d0fb24cf6ea4a540a28f1 (patch)
treea98c4ce74f0de65115e33bf1dde4148ce6c71f25 /vcl
parent563f15a609f5c637cd73d831830a68bdb61fb4d8 (diff)
valgrind: Initialize all of struct sockaddr_rc for binding AF_BLUETOOTH.
valgrind doesn't know that struct sockaddr_rc contains some padding that isn't used. Since we pass bind sizeof (struct sockaddr_rc) valgrind will check all bytes are initialized. So explicitly clear all bytes before passing to bind. https://bugs.kde.org/show_bug.cgi?id=320116 tracks adding explicit support to valgrind. Change-Id: I05d2f221a5794228dae3077e8ea1bcda5ba1f8b0 Reviewed-on: https://gerrit.libreoffice.org/3998 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl')
0 files changed, 0 insertions, 0 deletions