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)
committerCarsten Schoenert <c.schoenert@t-online.de>
Mon, 16 Mar 2020 19:01:29 +0000 (19:01 +0000)
commit2cb68f03527da7a979cf26350c45eb3d4966daea
tree52db06f20a7b75ddc5b560ba1b688fc1ae7d2c98
parent535c52cfede8e9043d61a3723a04143778a4c3e3
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-__FUNCTION__.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