Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ccd706e

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • javascript/ql/src/semmle/javascript/security/dataflow

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)