Bug 1531309 - Don't use __PRETTY_FUNCTION__ or __FUNCTION__ as format strings. r...
authorMike Hommey <mh+mozilla@glandium.org>
Sun, 18 Aug 2019 11:19:35 +0000 (20:19 +0900)
committerMike Hommey <glandium@debian.org>
Tue, 11 Feb 2020 21:50:33 +0000 (21:50 +0000)
commit3056c636d58f3e913cf94f6a57d9cc10e5409921
treef7d85b1ecdac6dcfadefe3c58591bb9bfc0b83b2
parentd94d96f2a4bf15986cc479ed72e021add3a54724
Bug 1531309 - Don't use __PRETTY_FUNCTION__ or __FUNCTION__ as format strings. r?sylvestre

__PRETTY_FUNCTION__ and __FUNCTION__ are not guaranteed to be a string
literal, and only string literals should be used as format strings. GCC
9 complains about this with -Werror=format-security.

Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-1531309-Don-t-use-__PRETTY_FUNCTION__-or-__FUNCT.patch
dom/media/systemservices/CamerasChild.cpp
dom/media/systemservices/CamerasParent.cpp
dom/media/systemservices/MediaParent.cpp
dom/media/systemservices/VideoEngine.cpp
dom/media/webrtc/MediaEngineRemoteVideoSource.cpp