Skip to content

Commit ccd706e

Browse files
committed
and pragmas to prevent bad join in RemoteFlowSource
1 parent 674b9ad commit ccd706e

File tree

1 file changed

+1
-0
lines changed
  • javascript/ql/src/semmle/javascript/security/dataflow

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/DOM.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ private class PostMessageEventParameter extends RemoteFlowSource {
229229
* even if the window is opened from a foreign domain.
230230
*/
231231
private class WindowNameAccess extends RemoteFlowSource {
232+
pragma[nomagic, noinline]
232233
WindowNameAccess() {
233234
this = DataFlow::globalObjectRef().getAPropertyRead("name")
234235
or

0 commit comments

Comments
 (0)