| Summary: | bind on AF_BLUETOOTH produces warnings because of sockaddr_rc padding | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
| Component: | memcheck | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Support-Linux-kernel-AF_BLUETOOTH-for-bind.patch | ||
|
Description
Mark Wielaard
2013-05-21 22:40:49 UTC
Created attachment 80013 [details] Support-Linux-kernel-AF_BLUETOOTH-for-bind.patch Support Linux kernel AF_BLUETOOTH for bind(). Bug #320116. sockaddr_rc might contain some padding which might not be initialized. Explicitly check the sockaddr_rc fields are set. That also produces better diagnostics about which field is unitialized. I committed this as r13404. Plus extra fix for platforms without AF_BLUETOOTH spotted by Tom Hughes as r13405. |