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, 3 Dec 2019 23:56:07 +0000 (23:56 +0000)
commita0446715ab88df1c7cadc4e33fc54e5f3dae881c
treefca10e6f695b0c89cb2169dfc3380dbb11ffbbfb
parentde38b2fb0b5df14bc66a27b7af6dc28e40844b2f
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