Bug 300191
| Summary: | [GStreamer][LibWebRTC] Fix unsafe-buffer-usage-in-libc-call warning | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | Platform | Assignee: | Philippe Normand <philn> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Philippe Normand
/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp:85:5: warning: function 'memset' is unsafe [-Wunsafe-buffer-usage-in-libc-call]
85 | memset(map.data(), 0, info.size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/51829
EWS
Committed 301046@main (58c67c69adb5): <https://commits.webkit.org/301046@main>
Reviewed commits have been landed. Closing PR #51829 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/162017881>
Radar WebKit Bug Importer
<rdar://problem/162018042>