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, 28 Jul 2020 22:23:16 +0000 (23:23 +0100)
commita946fc7417dbc99f0c30d30acfd2001fd9b82933
tree9018e14a931e559383588521d73275fc52f487f2
parent58e12d77f63975273c003750527879a8287b5905
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