static_analyzer
stringclasses
2 values
cve_id
stringlengths
13
16
dataset
stringclasses
5 values
environment_id
stringlengths
16
67
group
stringclasses
5 values
language
stringclasses
5 values
project_id
stringlengths
9
54
task_id
stringlengths
9
30
task_path
stringlengths
22
73
task_prompt
stringlengths
4.92k
22.9k
patch
stringlengths
318
241k
before_context
stringlengths
220
2.06M
after_context
stringlengths
113
2.08M
task_metadata_json
stringlengths
765
8.94k
checker_template
stringclasses
1 value
codeql
CVE-2022-4741
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-02cb4e0a6c5aaabd6a78
CodeQL go
go
morefixes__sajari__docconv
morefixes-02cb4e0a6c5aaabd6a78
codeql_go_benchmark_top30_v1/tasks/morefixes-02cb4e0a6c5aaabd6a78
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/docx.go b/docx.go index 0b3c2e6..f9f276a 100644 --- a/docx.go +++ b/docx.go @@ -40,7 +40,7 @@ func ConvertDocx(r io.Reader) (string, map[string]string, error) { size = si.Size() ra = f } else { - b, err := ioutil.ReadAll(r) + b, err := ioutil.ReadAll(io.LimitReader(r, maxBytes)) if err != nil ...
# Patch-overlapping Go context before the fix ## `docx.go` (changed lines (43, 44)) ```go package docconv import ( "archive/zip" "bytes" "encoding/xml" "fmt" "io" "io/ioutil" "os" "time" ) type typeOverride struct { XMLName xml.Name `xml:"Override"` ContentType string `xml:"ContentType,attr"` PartN...
# Patch-overlapping Go context after the fix ## `docx.go` (changed lines (43,)) ```go package docconv import ( "archive/zip" "bytes" "encoding/xml" "fmt" "io" "io/ioutil" "os" "time" ) type typeOverride struct { XMLName xml.Name `xml:"Override"` ContentType string `xml:"ContentType,attr"` PartName ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-02cb4e0a6c5aaabd6a78", "dataset_id": "morefixes", "dataset_item_id": "morefixes-02cb4e0a6c5aaabd6a78", "project_id": "morefixes__sajari__docconv", "language": "go", "backend": "codeql" }, "changed_go_files": [ "...
null
codeql
CVE-2025-47281
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-08d699b1f7c72c366406
CodeQL go
go
morefixes__kyverno__kyverno
morefixes-08d699b1f7c72c366406
codeql_go_benchmark_top30_v1/tasks/morefixes-08d699b1f7c72c366406
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/pkg/engine/wildcards/wildcards.go b/pkg/engine/wildcards/wildcards.go index 730d82529..a21ad08f9 100644 --- a/pkg/engine/wildcards/wildcards.go +++ b/pkg/engine/wildcards/wildcards.go @@ -135,7 +135,16 @@ func getValueAsStringMap(key string, data interface{}) (string, map[string]strin } for k, v := r...
# Patch-overlapping Go context before the fix ## `pkg/engine/wildcards/wildcards.go` (changed lines (138, 139)) ```go package wildcards import ( "strings" "github.com/kyverno/kyverno/ext/wildcard" "github.com/kyverno/kyverno/pkg/engine/anchor" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // ReplaceInSelecto...
# Patch-overlapping Go context after the fix ## `pkg/engine/wildcards/wildcards.go` (changed lines (138, 139, 140, 141, 142, 143, 144, 145, 146, 147)) ```go package wildcards import ( "strings" "github.com/kyverno/kyverno/ext/wildcard" "github.com/kyverno/kyverno/pkg/engine/anchor" metav1 "k8s.io/apimachinery/p...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-08d699b1f7c72c366406", "dataset_id": "morefixes", "dataset_item_id": "morefixes-08d699b1f7c72c366406", "project_id": "morefixes__kyverno__kyverno", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2020-29243
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-096cbfbd1d27f9ce86fb
CodeQL go
go
morefixes__dhowden__tag
morefixes-096cbfbd1d27f9ce86fb
codeql_go_benchmark_top30_v1/tasks/morefixes-096cbfbd1d27f9ce86fb
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/mp4.go b/mp4.go index bc0286b..6523397 100644 --- a/mp4.go +++ b/mp4.go @@ -149,8 +149,8 @@ func (m metadataMP4) readAtomData(r io.ReadSeeker, name string, size uint32, pro // "data" + size (4 bytes each) b = b[8:] - if len(b) < 3 { - return fmt.Errorf("invalid encoding: expected at least %d byt...
# Patch-overlapping Go context before the fix ## `mp4.go` (changed lines (152, 153, 154)) ```go // Copyright 2015, David Howden // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tag import ( "bytes" "encoding/binary" "errors" "fmt" "io" "strconv" ...
# Patch-overlapping Go context after the fix ## `mp4.go` (changed lines (152, 153)) ```go // Copyright 2015, David Howden // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tag import ( "bytes" "encoding/binary" "errors" "fmt" "io" "strconv" "strin...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-096cbfbd1d27f9ce86fb", "dataset_id": "morefixes", "dataset_item_id": "morefixes-096cbfbd1d27f9ce86fb", "project_id": "morefixes__dhowden__tag", "language": "go", "backend": "codeql" }, "changed_go_files": [ "mp4...
null
codeql
CVE-2023-34236
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-0adb0a489b07a50d6b2f
CodeQL go
go
morefixes__weaveworks__tf-controller
morefixes-0adb0a489b07a50d6b2f
codeql_go_benchmark_top30_v1/tasks/morefixes-0adb0a489b07a50d6b2f
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/runner/server.go b/runner/server.go index 5a5db655..676ef756 100644 --- a/runner/server.go +++ b/runner/server.go @@ -170,6 +170,18 @@ func (r *TerraformRunnerServer) ProcessCliConfig(ctx context.Context, req *Proce return &ProcessCliConfigReply{FilePath: tfrcFilepath}, nil } +// initLogger sets up th...
# Patch-overlapping Go context before the fix ## `runner/server.go` (changed lines (173, 194, 195, 196, 197, 198, 199, 200, 201, 202)) ```go package runner import ( "bytes" "context" "errors" "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "strings" securejoin "github.com/cyphar/filepath-securejoin" "gi...
# Patch-overlapping Go context after the fix ## `runner/server.go` (changed lines (173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 206, 207)) ```go package runner import ( "bytes" "context" "errors" "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "strings" securejoin "github.com/cyphar/filepa...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-0adb0a489b07a50d6b2f", "dataset_id": "morefixes", "dataset_item_id": "morefixes-0adb0a489b07a50d6b2f", "project_id": "morefixes__weaveworks__tf-controller", "language": "go", "backend": "codeql" }, "changed_go_files...
null
codeql
CVE-2022-41939
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-110ab7950a2c0b2c6f28
CodeQL go
go
morefixes__knative__func
morefixes-110ab7950a2c0b2c6f28
codeql_go_benchmark_top30_v1/tasks/morefixes-110ab7950a2c0b2c6f28
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/cmd/root.go b/cmd/root.go index 8fefcb37..b062eba2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -9,6 +9,7 @@ import ( "time" "knative.dev/func/cmd/templates" + "knative.dev/func/k8s" "github.com/ory/viper" "github.com/spf13/cobra" @@ -361,7 +362,12 @@ func (v Version) StringVerbose() string { ...
# Patch-overlapping Go context before the fix ## `cmd/root.go` (changed lines (12, 364, 365)) ```go package cmd import ( "fmt" "os" "path/filepath" "strings" "text/template" "time" "knative.dev/func/cmd/templates" "github.com/ory/viper" "github.com/spf13/cobra" "golang.org/x/term" "k8s.io/apimachinery/p...
# Patch-overlapping Go context after the fix ## `cmd/root.go` (changed lines (12, 365, 366, 367, 368, 369, 370)) ```go package cmd import ( "fmt" "os" "path/filepath" "strings" "text/template" "time" "knative.dev/func/cmd/templates" "knative.dev/func/k8s" "github.com/ory/viper" "github.com/spf13/cobra" ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-110ab7950a2c0b2c6f28", "dataset_id": "morefixes", "dataset_item_id": "morefixes-110ab7950a2c0b2c6f28", "project_id": "morefixes__knative__func", "language": "go", "backend": "codeql" }, "changed_go_files": [ "cm...
null
codeql
CVE-2023-27582
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-1218ce956f8120d59555
CodeQL go
go
morefixes__foxcpp__maddy
morefixes-1218ce956f8120d59555
codeql_go_benchmark_top30_v1/tasks/morefixes-1218ce956f8120d59555
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/internal/auth/sasl.go b/internal/auth/sasl.go index 06417ce..2103ab7 100644 --- a/internal/auth/sasl.go +++ b/internal/auth/sasl.go @@ -81,6 +81,9 @@ func (s *SASLAuth) CreateSASL(mech string, remoteAddr net.Addr, successCb func(i if identity == "" { identity = username } + if identity != us...
# Patch-overlapping Go context before the fix ## `internal/auth/sasl.go` (changed lines (84,)) ```go /* Maddy Mail Server - Composable all-in-one email server. Copyright © 2019-2020 Max Mazurov <fox.cpp@disroot.org>, Maddy Mail Server contributors This program is free software: you can redistribute it and/or modify ...
# Patch-overlapping Go context after the fix ## `internal/auth/sasl.go` (changed lines (84, 85, 86)) ```go /* Maddy Mail Server - Composable all-in-one email server. Copyright © 2019-2020 Max Mazurov <fox.cpp@disroot.org>, Maddy Mail Server contributors This program is free software: you can redistribute it and/or m...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-1218ce956f8120d59555", "dataset_id": "morefixes", "dataset_item_id": "morefixes-1218ce956f8120d59555", "project_id": "morefixes__foxcpp__maddy", "language": "go", "backend": "codeql" }, "changed_go_files": [ "in...
null
codeql
CVE-2024-39315
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-14446e68cdc53bc98807
CodeQL go
go
morefixes__pomerium__pomerium
morefixes-14446e68cdc53bc98807
codeql_go_benchmark_top30_v1/tasks/morefixes-14446e68cdc53bc98807
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/internal/handlers/userinfo.go b/internal/handlers/userinfo.go index c430d4f85..fa30e5683 100644 --- a/internal/handlers/userinfo.go +++ b/internal/handlers/userinfo.go @@ -1,11 +1,8 @@ package handlers import ( - "encoding/json" "net/http" - "google.golang.org/protobuf/encoding/protojson" - "gith...
# Patch-overlapping Go context before the fix ## `internal/handlers/userinfo.go` (changed lines (4, 7, 8, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 65)) ```go package handlers import ( "encoding/json" "net/http" "google.golang.org/protobuf/encoding/protojson" "github.com/pomerium/datasource/pkg/directory" "gith...
# Patch-overlapping Go context after the fix ## `internal/handlers/userinfo.go` (changed lines (4, 6, 39, 40, 41, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105,...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-14446e68cdc53bc98807", "dataset_id": "morefixes", "dataset_item_id": "morefixes-14446e68cdc53bc98807", "project_id": "morefixes__pomerium__pomerium", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2022-2582
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-1d20aba9f4be2de73db5
CodeQL go
go
morefixes__aws__aws-sdk-go
morefixes-1d20aba9f4be2de73db5
codeql_go_benchmark_top30_v1/tasks/morefixes-1d20aba9f4be2de73db5
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/internal/sync/singleflight/singleflight_test.go b/internal/sync/singleflight/singleflight_test.go index ad040379e..d9da008f4 100644 --- a/internal/sync/singleflight/singleflight_test.go +++ b/internal/sync/singleflight/singleflight_test.go @@ -14,6 +14,7 @@ import ( ) func TestDo(t *testing.T) { + t.Sk...
# Patch-overlapping Go context before the fix ## `internal/sync/singleflight/singleflight_test.go` (changed lines (17, 30, 44, 92)) ```go // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package singleflight...
# Patch-overlapping Go context after the fix ## `internal/sync/singleflight/singleflight_test.go` (changed lines (17, 31, 46, 95)) ```go // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package singleflight ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-1d20aba9f4be2de73db5", "dataset_id": "morefixes", "dataset_item_id": "morefixes-1d20aba9f4be2de73db5", "project_id": "morefixes__aws__aws-sdk-go", "language": "go", "backend": "codeql" }, "changed_go_files": [ "...
null
codeql
CVE-2025-66626
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-2331a664751876781460
CodeQL go
go
morefixes__argoproj__argo-workflows
morefixes-2331a664751876781460
codeql_go_benchmark_top30_v1/tasks/morefixes-2331a664751876781460
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/workflow/executor/executor.go b/workflow/executor/executor.go index 9cfaf5380..98a4bac44 100644 --- a/workflow/executor/executor.go +++ b/workflow/executor/executor.go @@ -1026,15 +1026,20 @@ func untar(tarPath string, destPath string) error { if !strings.HasPrefix(target, filepath.Clean(dest)+string(o...
# Patch-overlapping Go context before the fix ## `workflow/executor/executor.go` (changed lines (1029, 1030, 1031, 1034, 1035, 1038, 1047)) ```go package executor import ( "archive/tar" "archive/zip" "bufio" "compress/gzip" "context" "encoding/json" "errors" "fmt" "io" "io/fs" "math" "os" "path" "path/...
# Patch-overlapping Go context after the fix ## `workflow/executor/executor.go` (changed lines (1029, 1031, 1032, 1033, 1034, 1035, 1039, 1040, 1041, 1042, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-2331a664751876781460", "dataset_id": "morefixes", "dataset_item_id": "morefixes-2331a664751876781460", "project_id": "morefixes__argoproj__argo-workflows", "language": "go", "backend": "codeql" }, "changed_go_files"...
null
codeql
CVE-2019-12496
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-2cc25dee5f2a118bcb26
CodeQL go
go
morefixes__hybridgroup__gobot
morefixes-2cc25dee5f2a118bcb26
codeql_go_benchmark_top30_v1/tasks/morefixes-2cc25dee5f2a118bcb26
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/platforms/mqtt/mqtt_adaptor.go b/platforms/mqtt/mqtt_adaptor.go index 78bc508e..b3df24a5 100644 --- a/platforms/mqtt/mqtt_adaptor.go +++ b/platforms/mqtt/mqtt_adaptor.go @@ -230,7 +230,7 @@ func (a *Adaptor) newTLSConfig() *tls.Config { ClientCAs: nil, // InsecureSkipVerify = verify that cert content...
# Patch-overlapping Go context before the fix ## `platforms/mqtt/mqtt_adaptor.go` (changed lines (233, 234)) ```go package mqtt import ( "crypto/tls" "crypto/x509" "io/ioutil" "gobot.io/x/gobot" paho "github.com/eclipse/paho.mqtt.golang" multierror "github.com/hashicorp/go-multierror" "github.com/pkg/errors...
# Patch-overlapping Go context after the fix ## `platforms/mqtt/mqtt_adaptor.go` (changed lines (233,)) ```go package mqtt import ( "crypto/tls" "crypto/x509" "io/ioutil" "gobot.io/x/gobot" paho "github.com/eclipse/paho.mqtt.golang" multierror "github.com/hashicorp/go-multierror" "github.com/pkg/errors" ) ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-2cc25dee5f2a118bcb26", "dataset_id": "morefixes", "dataset_item_id": "morefixes-2cc25dee5f2a118bcb26", "project_id": "morefixes__hybridgroup__gobot", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2026-40890
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-30e495de2402bd4bed4b
CodeQL go
go
morefixes__gomarkdown__markdown
morefixes-30e495de2402bd4bed4b
codeql_go_benchmark_top30_v1/tasks/morefixes-30e495de2402bd4bed4b
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/html/smartypants.go b/html/smartypants.go index 706e4ff..dec784e 100644 --- a/html/smartypants.go +++ b/html/smartypants.go @@ -371,7 +371,10 @@ func (r *SPRenderer) smartLeftAngle(out *bytes.Buffer, previousChar byte, text [ i++ } - out.Write(text[:i+1]) + if i == len(text) { // No > found until th...
# Patch-overlapping Go context before the fix ## `html/smartypants.go` (changed lines (374, 375)) ```go package html import ( "bytes" "io" "github.com/gomarkdown/markdown/parser" ) // SmartyPants rendering var ( isSpace = parser.IsSpace isAlnum = parser.IsAlnum isPunctuation = parser.IsPunctuati...
# Patch-overlapping Go context after the fix ## `html/smartypants.go` (changed lines (374, 375, 376, 377)) ```go package html import ( "bytes" "io" "github.com/gomarkdown/markdown/parser" ) // SmartyPants rendering var ( isSpace = parser.IsSpace isAlnum = parser.IsAlnum isPunctuation = parser.Is...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-30e495de2402bd4bed4b", "dataset_id": "morefixes", "dataset_item_id": "morefixes-30e495de2402bd4bed4b", "project_id": "morefixes__gomarkdown__markdown", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2024-7773
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-32ed35a8bd8aba7b47ad
CodeQL go
go
morefixes__ollama__ollama
morefixes-32ed35a8bd8aba7b47ad
codeql_go_benchmark_top30_v1/tasks/morefixes-32ed35a8bd8aba7b47ad
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/cmd/cmd.go b/cmd/cmd.go index 89b551f4..909e8e4b 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -162,9 +162,6 @@ func tempZipFiles(path string) (string, error) { } defer tempfile.Close() - zipfile := zip.NewWriter(tempfile) - defer zipfile.Close() - detectContentType := func(path string) (string, erro...
# Patch-overlapping Go context before the fix ## `cmd/cmd.go` (changed lines (165, 166, 167, 236)) ```go package cmd import ( "archive/zip" "bytes" "context" "crypto/ed25519" "crypto/rand" "crypto/sha256" "encoding/pem" "errors" "fmt" "io" "log" "math" "net" "net/http" "os" "os/signal" "path/filepat...
# Patch-overlapping Go context after the fix ## `cmd/cmd.go` (changed lines (165, 233, 234, 235)) ```go package cmd import ( "archive/zip" "bytes" "context" "crypto/ed25519" "crypto/rand" "crypto/sha256" "encoding/pem" "errors" "fmt" "io" "log" "math" "net" "net/http" "os" "os/signal" "path/filepath...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-32ed35a8bd8aba7b47ad", "dataset_id": "morefixes", "dataset_item_id": "morefixes-32ed35a8bd8aba7b47ad", "project_id": "morefixes__ollama__ollama", "language": "go", "backend": "codeql" }, "changed_go_files": [ "c...
null
codeql
CVE-2023-40586
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-398ac78e3981b77e4ee2
CodeQL go
go
morefixes__corazawaf__coraza
morefixes-398ac78e3981b77e4ee2
codeql_go_benchmark_top30_v1/tasks/morefixes-398ac78e3981b77e4ee2
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/internal/bodyprocessors/multipart.go b/internal/bodyprocessors/multipart.go index efdcf628..1efea691 100644 --- a/internal/bodyprocessors/multipart.go +++ b/internal/bodyprocessors/multipart.go @@ -7,7 +7,6 @@ import ( "errors" "fmt" "io" - "log" "mime" "mime/multipart" "os" @@ -25,7 +24,7 @@ f...
# Patch-overlapping Go context before the fix ## `internal/bodyprocessors/multipart.go` (changed lines (10, 28, 29)) ```go // Copyright 2022 Juan Pablo Tosso and the OWASP Coraza contributors // SPDX-License-Identifier: Apache-2.0 package bodyprocessors import ( "errors" "fmt" "io" "log" "mime" "mime/multipar...
# Patch-overlapping Go context after the fix ## `internal/bodyprocessors/multipart.go` (changed lines (10, 27)) ```go // Copyright 2022 Juan Pablo Tosso and the OWASP Coraza contributors // SPDX-License-Identifier: Apache-2.0 package bodyprocessors import ( "errors" "fmt" "io" "mime" "mime/multipart" "os" "s...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-398ac78e3981b77e4ee2", "dataset_id": "morefixes", "dataset_item_id": "morefixes-398ac78e3981b77e4ee2", "project_id": "morefixes__corazawaf__coraza", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2022-41920
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-461c7bace102119cf443
CodeQL go
go
morefixes__duke-git__lancet
morefixes-461c7bace102119cf443
codeql_go_benchmark_top30_v1/tasks/morefixes-461c7bace102119cf443
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/fileutil/file.go b/fileutil/file.go index 9fe7a28..f2fe11c 100644 --- a/fileutil/file.go +++ b/fileutil/file.go @@ -8,6 +8,7 @@ import ( "archive/zip" "bufio" "errors" + "fmt" "io" "io/fs" "io/ioutil" @@ -220,7 +221,11 @@ func UnZip(zipFile string, destPath string) error { defer zipReader.Clo...
# Patch-overlapping Go context before the fix ## `fileutil/file.go` (changed lines (11, 223, 224, 252)) ```go // Copyright 2021 dudaodong@gmail.com. All rights reserved. // Use of this source code is governed by MIT license. // Package fileutil implements some basic functions for file operations package fileutil im...
# Patch-overlapping Go context after the fix ## `fileutil/file.go` (changed lines (11, 224, 225, 226, 227, 228, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267)) ```go // Copyright 2021 dudaodong@gmail.com. All rights reserved. // Use of this source code is governed by MIT license. // Package fileutil implemen...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-461c7bace102119cf443", "dataset_id": "morefixes", "dataset_item_id": "morefixes-461c7bace102119cf443", "project_id": "morefixes__duke-git__lancet", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2026-10722
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-50b28fbf07dd2d79022e
CodeQL go
go
morefixes__cilium__ebpf
morefixes-50b28fbf07dd2d79022e
codeql_go_benchmark_top30_v1/tasks/morefixes-50b28fbf07dd2d79022e
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/btf/btf.go b/btf/btf.go index cdc95425..a9160c67 100644 --- a/btf/btf.go +++ b/btf/btf.go @@ -214,7 +214,7 @@ func loadRawSpec(btf []byte, base *Spec) (*Spec, error) { } btf = btf[header.HdrLen:] - if int(header.StringOff+header.StringLen) > len(btf) { + if uint64(header.StringOff)+uint64(header.Stri...
# Patch-overlapping Go context before the fix ## `btf/btf.go` (changed lines (217, 218, 227, 228)) ```go package btf import ( "debug/elf" "errors" "fmt" "io" "iter" "maps" "math" "os" "reflect" "slices" "github.com/cilium/ebpf/internal" "github.com/cilium/ebpf/internal/sys" ) const btfMagic = 0xeB9F /...
# Patch-overlapping Go context after the fix ## `btf/btf.go` (changed lines (217, 227)) ```go package btf import ( "debug/elf" "errors" "fmt" "io" "iter" "maps" "math" "os" "reflect" "slices" "github.com/cilium/ebpf/internal" "github.com/cilium/ebpf/internal/sys" ) const btfMagic = 0xeB9F // Errors re...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-50b28fbf07dd2d79022e", "dataset_id": "morefixes", "dataset_item_id": "morefixes-50b28fbf07dd2d79022e", "project_id": "morefixes__cilium__ebpf", "language": "go", "backend": "codeql" }, "changed_go_files": [ "btf...
null
codeql
CVE-2023-47105
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-5ad30634efaa1d03593c
CodeQL go
go
morefixes__chaosblade-io__chaosblade
morefixes-5ad30634efaa1d03593c
codeql_go_benchmark_top30_v1/tasks/morefixes-5ad30634efaa1d03593c
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/cli/cmd/cmd.go b/cli/cmd/cmd.go index c1d111c..5891593 100644 --- a/cli/cmd/cmd.go +++ b/cli/cmd/cmd.go @@ -55,12 +55,7 @@ func CmdInit() *baseCommand { queryCommand.AddCommand(&QueryJvmCommand{}) queryCommand.AddCommand(&QueryK8sCommand{}) - // add server command - serverCommand := &ServerCommand{} ...
# Patch-overlapping Go context before the fix ## `cli/cmd/cmd.go` (changed lines (58, 59, 60, 61, 62, 63, 64)) ```go /* * Copyright 1999-2020 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
# Patch-overlapping Go context after the fix ## `cli/cmd/cmd.go` (changed lines (58,)) ```go /* * Copyright 1999-2020 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-5ad30634efaa1d03593c", "dataset_id": "morefixes", "dataset_item_id": "morefixes-5ad30634efaa1d03593c", "project_id": "morefixes__chaosblade-io__chaosblade", "language": "go", "backend": "codeql" }, "changed_go_files...
null
codeql
CVE-2024-23840
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-5c2773bb1de86a62a247
CodeQL go
go
morefixes__goreleaser__goreleaser
morefixes-5c2773bb1de86a62a247
codeql_go_benchmark_top30_v1/tasks/morefixes-5c2773bb1de86a62a247
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/internal/exec/exec.go b/internal/exec/exec.go index 19c0fecc..af1a5259 100644 --- a/internal/exec/exec.go +++ b/internal/exec/exec.go @@ -86,7 +86,6 @@ func executePublisher(ctx *context.Context, publisher config.Publisher) error { func executeCommand(c *command, artifact *artifact.Artifact) error { l...
# Patch-overlapping Go context before the fix ## `internal/exec/exec.go` (changed lines (89,)) ```go // Package exec can execute commands on the OS. package exec import ( "bytes" "fmt" "io" "os" "os/exec" "github.com/caarlos0/go-shellwords" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/interna...
# Patch-overlapping Go context after the fix ## `internal/exec/exec.go` (changed lines (89,)) ```go // Package exec can execute commands on the OS. package exec import ( "bytes" "fmt" "io" "os" "os/exec" "github.com/caarlos0/go-shellwords" "github.com/caarlos0/log" "github.com/goreleaser/goreleaser/internal...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-5c2773bb1de86a62a247", "dataset_id": "morefixes", "dataset_item_id": "morefixes-5c2773bb1de86a62a247", "project_id": "morefixes__goreleaser__goreleaser", "language": "go", "backend": "codeql" }, "changed_go_files": ...
null
codeql
CVE-2022-30428
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-5cfa41b8575717ecee17
CodeQL go
go
morefixes__gphper__ginadmin
morefixes-5cfa41b8575717ecee17
codeql_go_benchmark_top30_v1/tasks/morefixes-5cfa41b8575717ecee17
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/internal/controllers/admin/setting/adminSystemController.go b/internal/controllers/admin/setting/adminSystemController.go index 7b84e56..c2d8e3b 100644 --- a/internal/controllers/admin/setting/adminSystemController.go +++ b/internal/controllers/admin/setting/adminSystemController.go @@ -20,6 +20,7 @@ impor...
# Patch-overlapping Go context before the fix ## `internal/controllers/admin/setting/adminSystemController.go` (changed lines (23, 83, 84, 135, 136)) ```go /* * @Description:系统管理 * @Author: gphper * @Date: 2021-06-01 20:15:04 */ package setting import ( "bufio" "io/fs" "io/ioutil" "net/http" "os" "path/fi...
# Patch-overlapping Go context after the fix ## `internal/controllers/admin/setting/adminSystemController.go` (changed lines (23, 84, 85, 86, 87, 88, 140, 141, 142, 143, 144, 145)) ```go /* * @Description:系统管理 * @Author: gphper * @Date: 2021-06-01 20:15:04 */ package setting import ( "bufio" "io/fs" "io/iout...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-5cfa41b8575717ecee17", "dataset_id": "morefixes", "dataset_item_id": "morefixes-5cfa41b8575717ecee17", "project_id": "morefixes__gphper__ginadmin", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2020-36568
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-6e40429ff01c5ab8b71b
CodeQL go
go
morefixes__revel__revel
morefixes-6e40429ff01c5ab8b71b
codeql_go_benchmark_top30_v1/tasks/morefixes-6e40429ff01c5ab8b71b
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/binder.go b/binder.go index a42ed21..784e014 100644 --- a/binder.go +++ b/binder.go @@ -213,6 +213,8 @@ func bindSlice(params *Params, name string, typ reflect.Type) reflect.Value { numNoIndex := 0 sliceValues := []sliceValue{} + maxIndexBound := Config.IntDefault("params.max_index", 4096) + // Fac...
# Patch-overlapping Go context before the fix ## `binder.go` (changed lines (216, 232)) ```go // Copyright (c) 2012-2016 The Revel Framework Authors, All rights reserved. // Revel Framework source code and usage is governed by a MIT style // license that can be found in the LICENSE file. package revel import ( "en...
# Patch-overlapping Go context after the fix ## `binder.go` (changed lines (216, 217, 234, 235, 236, 237, 238)) ```go // Copyright (c) 2012-2016 The Revel Framework Authors, All rights reserved. // Revel Framework source code and usage is governed by a MIT style // license that can be found in the LICENSE file. pack...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-6e40429ff01c5ab8b71b", "dataset_id": "morefixes", "dataset_item_id": "morefixes-6e40429ff01c5ab8b71b", "project_id": "morefixes__revel__revel", "language": "go", "backend": "codeql" }, "changed_go_files": [ "bin...
null
codeql
CVE-2023-33965
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-7c57d35438d22210ced2
CodeQL go
go
morefixes__txthinking__brook
morefixes-7c57d35438d22210ced2
codeql_go_benchmark_top30_v1/tasks/morefixes-7c57d35438d22210ced2
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/cli/brook/main.go b/cli/brook/main.go index f69b992..b3e7a61 100644 --- a/cli/brook/main.go +++ b/cli/brook/main.go @@ -975,7 +975,7 @@ func main() { if err != nil { return err } - s, err := brook.NewQUICServer(":"+p, c.String("password"), h, c.Int("tcpTimeout"), c.Int("udpTimeout"), c.S...
# Patch-overlapping Go context before the fix ## `cli/brook/main.go` (changed lines (978, 979, 1440, 1441, 1517, 1518, 1526, 1555, 1568)) ```go // Copyright (c) 2016-present Cloud <cloud@txthinking.com> // // This program is free software; you can redistribute it and/or // modify it under the terms of version 3 of th...
# Patch-overlapping Go context after the fix ## `cli/brook/main.go` (changed lines (978, 1440, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 15...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-7c57d35438d22210ced2", "dataset_id": "morefixes", "dataset_item_id": "morefixes-7c57d35438d22210ced2", "project_id": "morefixes__txthinking__brook", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2026-8275
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-7e2af82757795db7f69a
CodeQL go
go
morefixes__bettercap__bettercap
morefixes-7e2af82757795db7f69a
codeql_go_benchmark_top30_v1/tasks/morefixes-7e2af82757795db7f69a
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/modules/zerogod/zerogod_acceptor.go b/modules/zerogod/zerogod_acceptor.go index ccb956ef..ccae002d 100644 --- a/modules/zerogod/zerogod_acceptor.go +++ b/modules/zerogod/zerogod_acceptor.go @@ -117,16 +117,24 @@ func (a *Acceptor) startTCP() (err error) { } } else { a.mod.Debug("accepted %s c...
# Patch-overlapping Go context before the fix ## `modules/zerogod/zerogod_acceptor.go` (changed lines (120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130)) ```go package zerogod import ( "context" "crypto/tls" "fmt" "net" "strings" "github.com/evilsocket/islazy/ops" "github.com/evilsocket/islazy/tui" ) t...
# Patch-overlapping Go context after the fix ## `modules/zerogod/zerogod_acceptor.go` (changed lines (120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137)) ```go package zerogod import ( "context" "crypto/tls" "fmt" "net" "strings" "github.com/evilsocket/islazy/ops" "gith...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-7e2af82757795db7f69a", "dataset_id": "morefixes", "dataset_item_id": "morefixes-7e2af82757795db7f69a", "project_id": "morefixes__bettercap__bettercap", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2024-41270
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-9fbea0e4da10bfc882d4
CodeQL go
go
morefixes__appleboy__gorush
morefixes-9fbea0e4da10bfc882d4
codeql_go_benchmark_top30_v1/tasks/morefixes-9fbea0e4da10bfc882d4
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/router/server_normal.go b/router/server_normal.go index b63c542..e882110 100644 --- a/router/server_normal.go +++ b/router/server_normal.go @@ -41,9 +41,8 @@ func RunHTTPServer(ctx context.Context, cfg *config.ConfYaml, q *queue.Queue, s if cfg.Core.AutoTLS.Enabled { return startServer(ctx, autoTLSSer...
# Patch-overlapping Go context before the fix ## `router/server_normal.go` (changed lines (44, 46, 47)) ```go //go:build !lambda // +build !lambda package router import ( "context" "crypto/tls" "encoding/base64" "errors" "net/http" "time" "github.com/appleboy/gorush/config" "github.com/appleboy/gorush/logx...
# Patch-overlapping Go context after the fix ## `router/server_normal.go` (changed lines (44, 45)) ```go //go:build !lambda // +build !lambda package router import ( "context" "crypto/tls" "encoding/base64" "errors" "net/http" "time" "github.com/appleboy/gorush/config" "github.com/appleboy/gorush/logx" "...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-9fbea0e4da10bfc882d4", "dataset_id": "morefixes", "dataset_item_id": "morefixes-9fbea0e4da10bfc882d4", "project_id": "morefixes__appleboy__gorush", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2023-46132
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-a469597c1a5d38baeb5d
CodeQL go
go
morefixes__hyperledger__fabric
morefixes-a469597c1a5d38baeb5d
codeql_go_benchmark_top30_v1/tasks/morefixes-a469597c1a5d38baeb5d
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/internal/peer/gossip/mcs.go b/internal/peer/gossip/mcs.go index 626da4c86..3bcb3f0ba 100644 --- a/internal/peer/gossip/mcs.go +++ b/internal/peer/gossip/mcs.go @@ -151,6 +151,10 @@ func (s *MSPMessageCryptoService) VerifyBlock(chainID common.ChannelID, seqNum u return fmt.Errorf("Failed unmarshalling me...
# Patch-overlapping Go context before the fix ## `internal/peer/gossip/mcs.go` (changed lines (154, 262)) ```go /* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package gossip import ( "bytes" "fmt" "time" pcommon "github.com/hyperledger/fabric-protos-go/common" "github.com/...
# Patch-overlapping Go context after the fix ## `internal/peer/gossip/mcs.go` (changed lines (154, 155, 156, 157, 266)) ```go /* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package gossip import ( "bytes" "fmt" "time" pcommon "github.com/hyperledger/fabric-protos-go/common"...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-a469597c1a5d38baeb5d", "dataset_id": "morefixes", "dataset_item_id": "morefixes-a469597c1a5d38baeb5d", "project_id": "morefixes__hyperledger__fabric", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2023-34105
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-a9ee7c2085f2981a7be1
CodeQL go
go
morefixes__ossrs__srs
morefixes-a9ee7c2085f2981a7be1
codeql_go_benchmark_top30_v1/tasks/morefixes-a9ee7c2085f2981a7be1
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/trunk/research/api-server/server.go b/trunk/research/api-server/server.go index 8942d8c41..aa379528b 100644 --- a/trunk/research/api-server/server.go +++ b/trunk/research/api-server/server.go @@ -400,10 +400,18 @@ func (v *SnapshotJob) do(ffmpegPath, inputUrl string) (err error) { normalPicPath := path.J...
# Patch-overlapping Go context before the fix ## `trunk/research/api-server/server.go` (changed lines (403, 404, 405, 406, 407)) ```go package main import ( "context" "encoding/json" "flag" "fmt" "io/ioutil" "log" "net/http" "os" "os/exec" "path" "path/filepath" "strconv" "strings" "sync" "time" ) ty...
# Patch-overlapping Go context after the fix ## `trunk/research/api-server/server.go` (changed lines (403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 414)) ```go package main import ( "context" "encoding/json" "flag" "fmt" "io/ioutil" "log" "net/http" "os" "os/exec" "path" "path/filepath" "strconv" "s...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-a9ee7c2085f2981a7be1", "dataset_id": "morefixes", "dataset_item_id": "morefixes-a9ee7c2085f2981a7be1", "project_id": "morefixes__ossrs__srs", "language": "go", "backend": "codeql" }, "changed_go_files": [ "trunk...
null
codeql
CVE-2018-1002207
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-c254bd7b8a82b4ef45c1
CodeQL go
go
morefixes__mholt__archiver
morefixes-c254bd7b8a82b4ef45c1
codeql_go_benchmark_top30_v1/tasks/morefixes-c254bd7b8a82b4ef45c1
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/archiver.go b/archiver.go index 68f8ea3..32baf3e 100644 --- a/archiver.go +++ b/archiver.go @@ -7,6 +7,7 @@ import ( "os" "path/filepath" "runtime" + "strings" ) // Archiver represent a archive format @@ -105,3 +106,14 @@ func mkdir(dirPath string) error { } return nil } + +func sanitizeExtr...
# Patch-overlapping Go context before the fix ## `archiver.go` (changed lines (10, 108)) ```go package archiver import ( "fmt" "io" "log" "os" "path/filepath" "runtime" ) // Archiver represent a archive format type Archiver interface { // Match checks supported files Match(filename string) bool // Make mak...
# Patch-overlapping Go context after the fix ## `archiver.go` (changed lines (10, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119)) ```go package archiver import ( "fmt" "io" "log" "os" "path/filepath" "runtime" "strings" ) // Archiver represent a archive format type Archiver interface { // Match chec...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-c254bd7b8a82b4ef45c1", "dataset_id": "morefixes", "dataset_item_id": "morefixes-c254bd7b8a82b4ef45c1", "project_id": "morefixes__mholt__archiver", "language": "go", "backend": "codeql" }, "changed_go_files": [ "...
null
codeql
CVE-2017-1000070
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-cd95b2e4d63395291cd3
CodeQL go
go
morefixes__bitly__oauth2_proxy
morefixes-cd95b2e4d63395291cd3
codeql_go_benchmark_top30_v1/tasks/morefixes-cd95b2e4d63395291cd3
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/oauthproxy.go b/oauthproxy.go index 115e562..75fbc9f 100644 --- a/oauthproxy.go +++ b/oauthproxy.go @@ -490,7 +490,7 @@ func (p *OAuthProxy) OAuthCallback(rw http.ResponseWriter, req *http.Request) { } redirect := req.Form.Get("state") - if !strings.HasPrefix(redirect, "/") { + if !strings.HasPrefix(...
# Patch-overlapping Go context before the fix ## `oauthproxy.go` (changed lines (493, 494)) ```go package main import ( b64 "encoding/base64" "errors" "fmt" "html/template" "log" "net" "net/http" "net/http/httputil" "net/url" "regexp" "strings" "time" "github.com/18F/hmacauth" "github.com/bitly/oauth2...
# Patch-overlapping Go context after the fix ## `oauthproxy.go` (changed lines (493,)) ```go package main import ( b64 "encoding/base64" "errors" "fmt" "html/template" "log" "net" "net/http" "net/http/httputil" "net/url" "regexp" "strings" "time" "github.com/18F/hmacauth" "github.com/bitly/oauth2_prox...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-cd95b2e4d63395291cd3", "dataset_id": "morefixes", "dataset_item_id": "morefixes-cd95b2e4d63395291cd3", "project_id": "morefixes__bitly__oauth2_proxy", "language": "go", "backend": "codeql" }, "changed_go_files": [ ...
null
codeql
CVE-2025-67499
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-d3400ed5292d19661685
CodeQL go
go
morefixes__containernetworking__plugins
morefixes-d3400ed5292d19661685
codeql_go_benchmark_top30_v1/tasks/morefixes-d3400ed5292d19661685
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/plugins/meta/portmap/portmap_nftables.go b/plugins/meta/portmap/portmap_nftables.go index d3e7049d..bd58e4ae 100644 --- a/plugins/meta/portmap/portmap_nftables.go +++ b/plugins/meta/portmap/portmap_nftables.go @@ -26,9 +26,14 @@ import ( const ( tableName = "cni_hostport" + // Intermediate chain to ju...
# Patch-overlapping Go context before the fix ## `plugins/meta/portmap/portmap_nftables.go` (changed lines (29, 30, 31, 32, 107, 108, 109, 110, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 129, 130, 131, 132, 138, 139, 140, 141, 144, 145, 147, 148, 150, 151, 153, 158, 159, 187, 188, 189, 246, ...
# Patch-overlapping Go context after the fix ## `plugins/meta/portmap/portmap_nftables.go` (changed lines (29, 30, 31, 32, 34, 35, 36, 112, 114, 116, 119, 121, 123, 125, 127, 129, 131, 134, 136, 138, 143, 145, 149, 152, 155, 156, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 174, 203, 204, 206, 264, 273, 274, 293)...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-d3400ed5292d19661685", "dataset_id": "morefixes", "dataset_item_id": "morefixes-d3400ed5292d19661685", "project_id": "morefixes__containernetworking__plugins", "language": "go", "backend": "codeql" }, "changed_go_fi...
null
codeql
CVE-2022-21698
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-e3f3ac87786e2080b81f
CodeQL go
go
morefixes__prometheus__client_golang
morefixes-e3f3ac87786e2080b81f
codeql_go_benchmark_top30_v1/tasks/morefixes-e3f3ac87786e2080b81f
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/prometheus/promhttp/instrument_client.go b/prometheus/promhttp/instrument_client.go index 83c49b6..861b4d2 100644 --- a/prometheus/promhttp/instrument_client.go +++ b/prometheus/promhttp/instrument_client.go @@ -49,7 +49,10 @@ func InstrumentRoundTripperInFlight(gauge prometheus.Gauge, next http.RoundTripp...
# Patch-overlapping Go context before the fix ## `prometheus/promhttp/instrument_client.go` (changed lines (52, 53, 60, 61, 66, 67, 76, 77, 88, 89, 95, 96)) ```go // Copyright 2017 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complian...
# Patch-overlapping Go context after the fix ## `prometheus/promhttp/instrument_client.go` (changed lines (52, 53, 54, 55, 63, 64, 65, 66, 67, 68, 74, 84, 85, 86, 87, 99, 100, 101, 102, 103, 104, 111)) ```go // Copyright 2017 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); //...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-e3f3ac87786e2080b81f", "dataset_id": "morefixes", "dataset_item_id": "morefixes-e3f3ac87786e2080b81f", "project_id": "morefixes__prometheus__client_golang", "language": "go", "backend": "codeql" }, "changed_go_files...
null
codeql
CVE-2021-3538
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-f0d857f4ad82fae5a3a9
CodeQL go
go
morefixes__satori__go.uuid
morefixes-f0d857f4ad82fae5a3a9
codeql_go_benchmark_top30_v1/tasks/morefixes-f0d857f4ad82fae5a3a9
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/generator.go b/generator.go index 499dc35..c50d33c 100644 --- a/generator.go +++ b/generator.go @@ -165,7 +165,7 @@ func (g *rfc4122Generator) NewV3(ns UUID, name string) UUID { // NewV4 returns random generated UUID. func (g *rfc4122Generator) NewV4() (UUID, error) { u := UUID{} - if _, err := g.rand....
# Patch-overlapping Go context before the fix ## `generator.go` (changed lines (168, 169, 191, 192, 225, 226)) ```go // Copyright (C) 2013-2018 by Maxim Bublis <b@codemonkey.ru> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (t...
# Patch-overlapping Go context after the fix ## `generator.go` (changed lines (168, 191, 225)) ```go // Copyright (C) 2013-2018 by Maxim Bublis <b@codemonkey.ru> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-f0d857f4ad82fae5a3a9", "dataset_id": "morefixes", "dataset_item_id": "morefixes-f0d857f4ad82fae5a3a9", "project_id": "morefixes__satori__go.uuid", "language": "go", "backend": "codeql" }, "changed_go_files": [ "...
null
codeql
CVE-2025-32445
codeql_go_benchmark_top30_v1
codeql_go_benchmark_top30_v1/morefixes-fb75b5c545e3cb24f7ae
CodeQL go
go
morefixes__argoproj__argo-events
morefixes-fb75b5c545e3cb24f7ae
codeql_go_benchmark_top30_v1/tasks/morefixes-fb75b5c545e3cb24f7ae
# Go CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Go context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, but no...
diff --git a/pkg/apis/events/openapi/openapi_generated.go b/pkg/apis/events/openapi/openapi_generated.go index 88281a67..107f30de 100644 --- a/pkg/apis/events/openapi/openapi_generated.go +++ b/pkg/apis/events/openapi/openapi_generated.go @@ -58,6 +58,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[st...
# Patch-overlapping Go context before the fix ## `pkg/apis/events/openapi/openapi_generated.go` (changed lines (61, 1763, 7908, 7909, 8011, 8012)) ```go //go:build !ignore_autogenerated // +build !ignore_autogenerated /* Copyright 2021 The Argoproj Authors. Licensed under the Apache License, Version 2.0 (the "Licen...
# Patch-overlapping Go context after the fix ## `pkg/apis/events/openapi/openapi_generated.go` (changed lines (61, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-fb75b5c545e3cb24f7ae", "dataset_id": "morefixes", "dataset_item_id": "morefixes-fb75b5c545e3cb24f7ae", "project_id": "morefixes__argoproj__argo-events", "language": "go", "backend": "codeql" }, "changed_go_files": [...
null
codeql
CVE-2023-2196
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-02f75a63a6f0b8d6c6c7
CodeQL java
java
morefixes__jenkinsci__codedx-plugin
morefixes-02f75a63a6f0b8d6c6c7
codeql_java_benchmark_top30_v2/tasks/morefixes-02f75a63a6f0b8d6c6c7
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/org/jenkinsci/plugins/codedx/CodeDxPublisher.java b/src/main/java/org/jenkinsci/plugins/codedx/CodeDxPublisher.java index 5880869..600593a 100644 --- a/src/main/java/org/jenkinsci/plugins/codedx/CodeDxPublisher.java +++ b/src/main/java/org/jenkinsci/plugins/codedx/CodeDxPublisher.java @@ -785...
# Patch-overlapping Java context before the fix ## `src/main/java/org/jenkinsci/plugins/codedx/CodeDxPublisher.java` (changed lines (788, 793, 805, 809, 813, 819)) ```java /* * © 2023 Synopsys, Inc. All rights reserved worldwide. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
# Patch-overlapping Java context after the fix ## `src/main/java/org/jenkinsci/plugins/codedx/CodeDxPublisher.java` (changed lines (788, 794, 795, 808, 813, 818, 825, 826)) ```java /* * © 2023 Synopsys, Inc. All rights reserved worldwide. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-02f75a63a6f0b8d6c6c7", "dataset_id": "morefixes", "dataset_item_id": "morefixes-02f75a63a6f0b8d6c6c7", "project_id": "morefixes__jenkinsci__codedx-plugin", "language": "java", "backend": "codeql" }, "changed_java_fi...
null
codeql
CVE-2021-21656
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-04bdb708bf23aabdc444
CodeQL java
java
morefixes__jenkinsci__xcode-plugin
morefixes-04bdb708bf23aabdc444
codeql_java_benchmark_top30_v2/tasks/morefixes-04bdb708bf23aabdc444
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/au/com/rayh/XcodeProjectParser.java b/src/main/java/au/com/rayh/XcodeProjectParser.java index 09db4c8..e05177e 100644 --- a/src/main/java/au/com/rayh/XcodeProjectParser.java +++ b/src/main/java/au/com/rayh/XcodeProjectParser.java @@ -96,6 +96,19 @@ public class XcodeProjectParser { ProjectS...
# Patch-overlapping Java context before the fix ## `src/main/java/au/com/rayh/XcodeProjectParser.java` (changed lines (99, 182)) ```java package au.com.rayh; import java.io.File; import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Paths; import java.nio....
# Patch-overlapping Java context after the fix ## `src/main/java/au/com/rayh/XcodeProjectParser.java` (changed lines (99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207)) ```java package au.com.rayh; import java.io.File; import java.io.IOEx...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-04bdb708bf23aabdc444", "dataset_id": "morefixes", "dataset_item_id": "morefixes-04bdb708bf23aabdc444", "project_id": "morefixes__jenkinsci__xcode-plugin", "language": "java", "backend": "codeql" }, "changed_java_fil...
null
codeql
CVE-2021-21632
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-05d6240fd5a9017a44ec
CodeQL java
java
morefixes__jenkinsci__dependency-track-plugin
morefixes-05d6240fd5a9017a44ec
codeql_java_benchmark_top30_v2/tasks/morefixes-05d6240fd5a9017a44ec
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/org/jenkinsci/plugins/DependencyTrack/DescriptorImpl.java b/src/main/java/org/jenkinsci/plugins/DependencyTrack/DescriptorImpl.java index 4f76c60..cd43691 100644 --- a/src/main/java/org/jenkinsci/plugins/DependencyTrack/DescriptorImpl.java +++ b/src/main/java/org/jenkinsci/plugins/DependencyT...
# Patch-overlapping Java context before the fix ## `src/main/java/org/jenkinsci/plugins/DependencyTrack/DescriptorImpl.java` (changed lines (49, 152, 172, 193, 195, 196, 203, 205, 206, 220, 221, 225, 226)) ```java /* * Copyright 2020 OWASP. * * Licensed under the Apache License, Version 2.0 (the "License"); * you...
# Patch-overlapping Java context after the fix ## `src/main/java/org/jenkinsci/plugins/DependencyTrack/DescriptorImpl.java` (changed lines (49, 153, 174, 196, 199, 200, 201, 202, 203, 204, 205, 213, 216, 217, 218, 219, 220, 221, 222, 237, 239, 240, 241, 242, 243, 248)) ```java /* * Copyright 2020 OWASP. * * Licens...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-05d6240fd5a9017a44ec", "dataset_id": "morefixes", "dataset_item_id": "morefixes-05d6240fd5a9017a44ec", "project_id": "morefixes__jenkinsci__dependency-track-plugin", "language": "java", "backend": "codeql" }, "chang...
null
codeql
CVE-2020-2132
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-0608482232bb0119b561
CodeQL java
java
morefixes__jenkinsci__environment-manager-tools-plugin
morefixes-0608482232bb0119b561
codeql_java_benchmark_top30_v2/tasks/morefixes-0608482232bb0119b561
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/com/parasoft/environmentmanager/jenkins/EnvironmentManagerBuilder.java b/src/main/java/com/parasoft/environmentmanager/jenkins/EnvironmentManagerBuilder.java index 2cd4697..4b35d2e 100644 --- a/src/main/java/com/parasoft/environmentmanager/jenkins/EnvironmentManagerBuilder.java +++ b/src/main...
# Patch-overlapping Java context before the fix ## `src/main/java/com/parasoft/environmentmanager/jenkins/EnvironmentManagerBuilder.java` (changed lines (67, 68, 104, 105, 171, 172)) ```java /* * Copyright 2016 Parasoft Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
# Patch-overlapping Java context after the fix ## `src/main/java/com/parasoft/environmentmanager/jenkins/EnvironmentManagerBuilder.java` (changed lines (67, 104, 171, 172, 173, 174, 175, 176, 177)) ```java /* * Copyright 2016 Parasoft Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-0608482232bb0119b561", "dataset_id": "morefixes", "dataset_item_id": "morefixes-0608482232bb0119b561", "project_id": "morefixes__jenkinsci__environment-manager-tools-plugin", "language": "java", "backend": "codeql" },...
null
codeql
CVE-2020-2311
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-0709c903a0f96b124bd5
CodeQL java
java
morefixes__jenkinsci__aws-global-configuration-plugin
morefixes-0709c903a0f96b124bd5
codeql_java_benchmark_top30_v2/tasks/morefixes-0709c903a0f96b124bd5
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/io/jenkins/plugins/aws/global_configuration/AwsManagementLink.java b/src/main/java/io/jenkins/plugins/aws/global_configuration/AwsManagementLink.java index ab82e89..7b7cdda 100644 --- a/src/main/java/io/jenkins/plugins/aws/global_configuration/AwsManagementLink.java +++ b/src/main/java/io/jen...
# Patch-overlapping Java context before the fix ## `src/main/java/io/jenkins/plugins/aws/global_configuration/AwsManagementLink.java` (changed lines (17, 18, 64, 65, 66)) ```java package io.jenkins.plugins.aws.global_configuration; import com.google.common.base.Predicate; import hudson.BulkChange; import hudson.Exte...
# Patch-overlapping Java context after the fix ## `src/main/java/io/jenkins/plugins/aws/global_configuration/AwsManagementLink.java` (changed lines (17, 64, 66)) ```java package io.jenkins.plugins.aws.global_configuration; import com.google.common.base.Predicate; import hudson.BulkChange; import hudson.Extension; im...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-0709c903a0f96b124bd5", "dataset_id": "morefixes", "dataset_item_id": "morefixes-0709c903a0f96b124bd5", "project_id": "morefixes__jenkinsci__aws-global-configuration-plugin", "language": "java", "backend": "codeql" }, ...
null
codeql
CVE-2020-14297
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-09002f4d38e9ecf8238a
CodeQL java
java
morefixes__wildfly__jboss-ejb-client
morefixes-09002f4d38e9ecf8238a
codeql_java_benchmark_top30_v2/tasks/morefixes-09002f4d38e9ecf8238a
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/org/jboss/ejb/protocol/remote/EJBSimpleTransactionControl.java b/src/main/java/org/jboss/ejb/protocol/remote/EJBSimpleTransactionControl.java index af32394..807d5c0 100644 --- a/src/main/java/org/jboss/ejb/protocol/remote/EJBSimpleTransactionControl.java +++ b/src/main/java/org/jboss/ejb/prot...
# Patch-overlapping Java context before the fix ## `src/main/java/org/jboss/ejb/protocol/remote/EJBSimpleTransactionControl.java` (changed lines (107,)) ```java /* * JBoss, Home of Professional Open Source. * Copyright 2017 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licens...
# Patch-overlapping Java context after the fix ## `src/main/java/org/jboss/ejb/protocol/remote/EJBSimpleTransactionControl.java` (changed lines (107, 108)) ```java /* * JBoss, Home of Professional Open Source. * Copyright 2017 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Lic...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-09002f4d38e9ecf8238a", "dataset_id": "morefixes", "dataset_item_id": "morefixes-09002f4d38e9ecf8238a", "project_id": "morefixes__wildfly__jboss-ejb-client", "language": "java", "backend": "codeql" }, "changed_java_f...
null
codeql
CVE-2020-25023
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-13b1b3610eb300ab9704
CodeQL java
java
morefixes__rweather__noise-java
morefixes-13b1b3610eb300ab9704
codeql_java_benchmark_top30_v2/tasks/morefixes-13b1b3610eb300ab9704
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java b/src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java index 7cd2b74..f627be3 100644 --- a/src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java +++ b/src/main/java/com/southernsto...
# Patch-overlapping Java context before the fix ## `src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java` (changed lines (188, 189, 190, 191, 192, 217, 218, 219, 223, 224, 225, 226, 227)) ```java /* * Copyright (C) 2016 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, fr...
# Patch-overlapping Java context after the fix ## `src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java` (changed lines (188, 189, 190, 191, 192, 218, 219, 224, 225, 226)) ```java /* * Copyright (C) 2016 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, free of charge, to...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-13b1b3610eb300ab9704", "dataset_id": "morefixes", "dataset_item_id": "morefixes-13b1b3610eb300ab9704", "project_id": "morefixes__rweather__noise-java", "language": "java", "backend": "codeql" }, "changed_java_files"...
null
codeql
CVE-2023-25141
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-149c5507d76b198944c3
CodeQL java
java
morefixes__apache__sling-org-apache-sling-jcr-base
morefixes-149c5507d76b198944c3
codeql_java_benchmark_top30_v2/tasks/morefixes-149c5507d76b198944c3
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java b/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java index c0b5ea2..7e4b043 100644 --- a/src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java +++ b/src/main/java/org/apache/sling/jcr/base/util/RepositoryA...
# Patch-overlapping Java context before the fix ## `src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java` (changed lines (21, 22, 23, 24, 25, 26, 29, 30, 31, 33, 34, 35, 38, 41, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 9...
# Patch-overlapping Java context after the fix ## `src/main/java/org/apache/sling/jcr/base/util/RepositoryAccessor.java` (changed lines (21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 40, 58, 59, 61, 64, 79, 80, 82, 84, 98, 99, 101, 103, 119, 120, 122, 124)) ```java /* * Licensed to the Apache Software Foundati...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-149c5507d76b198944c3", "dataset_id": "morefixes", "dataset_item_id": "morefixes-149c5507d76b198944c3", "project_id": "morefixes__apache__sling-org-apache-sling-jcr-base", "language": "java", "backend": "codeql" }, "...
null
codeql
CVE-2022-43183
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-19d7bda86b839e7fc493
CodeQL java
java
morefixes__xuxueli__xxl-job
morefixes-19d7bda86b839e7fc493
codeql_java_benchmark_top30_v2/tasks/morefixes-19d7bda86b839e7fc493
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobLogController.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobLogController.java index dcf5bb83..67faebcc 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobLogController.java +++ b/xxl-job-admin/src/main/j...
# Patch-overlapping Java context before the fix ## `xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobLogController.java` (changed lines (3, 5, 132, 133, 140, 141, 142, 143, 144, 147)) ```java package com.xxl.job.admin.controller; import com.xxl.job.admin.core.exception.XxlJobException; import com.xxl.job....
# Patch-overlapping Java context after the fix ## `xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobLogController.java` (changed lines (3, 4, 132, 138, 140, 141, 142, 143, 144, 145, 146, 147, 148, 152)) ```java package com.xxl.job.admin.controller; import com.xxl.job.admin.core.complete.XxlJobCompleter; i...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-19d7bda86b839e7fc493", "dataset_id": "morefixes", "dataset_item_id": "morefixes-19d7bda86b839e7fc493", "project_id": "morefixes__xuxueli__xxl-job", "language": "java", "backend": "codeql" }, "changed_java_files": [ ...
null
codeql
CVE-2025-29908
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-1f67e1cf382f2e332752
CodeQL java
java
morefixes__netty__netty-incubator-codec-quic
morefixes-1f67e1cf382f2e332752
codeql_java_benchmark_top30_v2/tasks/morefixes-1f67e1cf382f2e332752
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/codec-classes-quic/src/main/java/io/netty/incubator/codec/quic/ConnectionIdChannelMap.java b/codec-classes-quic/src/main/java/io/netty/incubator/codec/quic/ConnectionIdChannelMap.java new file mode 100644 index 0000000..eab9336 --- /dev/null +++ b/codec-classes-quic/src/main/java/io/netty/incubator/codec/q...
# Patch-overlapping Java context before the fix ## `codec-classes-quic/src/main/java/io/netty/incubator/codec/quic/QuicheQuicCodec.java` (changed lines (32, 34, 46, 47)) ```java /* * Copyright 2020 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "Lice...
# Patch-overlapping Java context after the fix ## `codec-classes-quic/src/main/java/io/netty/incubator/codec/quic/ConnectionIdChannelMap.java` (changed lines (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 4...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-1f67e1cf382f2e332752", "dataset_id": "morefixes", "dataset_item_id": "morefixes-1f67e1cf382f2e332752", "project_id": "morefixes__netty__netty-incubator-codec-quic", "language": "java", "backend": "codeql" }, "change...
null
codeql
CVE-2020-25022
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-21b89e6983680bd0068c
CodeQL java
java
morefixes__rweather__noise-java
morefixes-21b89e6983680bd0068c
codeql_java_benchmark_top30_v2/tasks/morefixes-21b89e6983680bd0068c
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java b/src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java index 7cd2b74..f627be3 100644 --- a/src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java +++ b/src/main/java/com/southernsto...
# Patch-overlapping Java context before the fix ## `src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java` (changed lines (188, 189, 190, 191, 192, 217, 218, 219, 223, 224, 225, 226, 227)) ```java /* * Copyright (C) 2016 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, fr...
# Patch-overlapping Java context after the fix ## `src/main/java/com/southernstorm/noise/protocol/AESGCMFallbackCipherState.java` (changed lines (188, 189, 190, 191, 192, 218, 219, 224, 225, 226)) ```java /* * Copyright (C) 2016 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, free of charge, to...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-21b89e6983680bd0068c", "dataset_id": "morefixes", "dataset_item_id": "morefixes-21b89e6983680bd0068c", "project_id": "morefixes__rweather__noise-java", "language": "java", "backend": "codeql" }, "changed_java_files"...
null
codeql
CVE-2021-22573
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-23c03b1bf7a3c44f444b
CodeQL java
java
morefixes__googleapis__google-oauth-java-client
morefixes-23c03b1bf7a3c44f444b
codeql_java_benchmark_top30_v2/tasks/morefixes-23c03b1bf7a3c44f444b
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/Environment.java b/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/Environment.java new file mode 100644 index 0000000..9b9e178 --- /dev/null +++ b/google-oauth-client/src/main/java/com/google/api/client/a...
# Patch-overlapping Java context before the fix ## `google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdTokenVerifier.java` (changed lines (17, 19, 20, 22, 42, 51, 52, 58, 79, 84, 137, 145, 146, 147, 148, 164, 173, 219, 283)) ```java /* * Copyright (c) 2013 Google Inc. * * Licensed under t...
# Patch-overlapping Java context after the fix ## `google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/Environment.java` (changed lines (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)) ```java /* * ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-23c03b1bf7a3c44f444b", "dataset_id": "morefixes", "dataset_item_id": "morefixes-23c03b1bf7a3c44f444b", "project_id": "morefixes__googleapis__google-oauth-java-client", "language": "java", "backend": "codeql" }, "cha...
null
codeql
CVE-2021-39196
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-2b14860afe0d3bf8094a
CodeQL java
java
morefixes__jdhwpgmbca__pcapture
morefixes-2b14860afe0d3bf8094a
codeql_java_benchmark_top30_v2/tasks/morefixes-2b14860afe0d3bf8094a
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/com/rtds/svc/CaptureTypeService.java b/src/main/java/com/rtds/svc/CaptureTypeService.java index 52bdea3..be6c346 100644 --- a/src/main/java/com/rtds/svc/CaptureTypeService.java +++ b/src/main/java/com/rtds/svc/CaptureTypeService.java @@ -52,12 +52,16 @@ public class CaptureTypeService ...
# Patch-overlapping Java context before the fix ## `src/main/java/com/rtds/svc/CaptureTypeService.java` (changed lines (55, 56, 57, 58, 60, 61)) ```java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template...
# Patch-overlapping Java context after the fix ## `src/main/java/com/rtds/svc/CaptureTypeService.java` (changed lines (55, 57, 60, 61, 62, 63, 64)) ```java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the templ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-2b14860afe0d3bf8094a", "dataset_id": "morefixes", "dataset_item_id": "morefixes-2b14860afe0d3bf8094a", "project_id": "morefixes__jdhwpgmbca__pcapture", "language": "java", "backend": "codeql" }, "changed_java_files"...
null
codeql
CVE-2022-4641
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-35510b21cf51a9acf072
CodeQL java
java
morefixes__tdunning__pig-vector
morefixes-35510b21cf51a9acf072
codeql_java_benchmark_top30_v2/tasks/morefixes-35510b21cf51a9acf072
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/org/apache/mahout/pig/LogisticRegression.java b/src/main/java/org/apache/mahout/pig/LogisticRegression.java index 17af842..ff6953d 100644 --- a/src/main/java/org/apache/mahout/pig/LogisticRegression.java +++ b/src/main/java/org/apache/mahout/pig/LogisticRegression.java @@ -38,6 +38,7 @@ impor...
# Patch-overlapping Java context before the fix ## `src/main/java/org/apache/mahout/pig/LogisticRegression.java` (changed lines (41, 162, 163)) ```java /* * Copyright 2014 Ted Dunning * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lice...
# Patch-overlapping Java context after the fix ## `src/main/java/org/apache/mahout/pig/LogisticRegression.java` (changed lines (41, 163)) ```java /* * Copyright 2014 Ted Dunning * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-35510b21cf51a9acf072", "dataset_id": "morefixes", "dataset_item_id": "morefixes-35510b21cf51a9acf072", "project_id": "morefixes__tdunning__pig-vector", "language": "java", "backend": "codeql" }, "changed_java_files"...
null
codeql
CVE-2025-67030
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-378f408f498b20422fe9
CodeQL java
java
morefixes__codehaus-plexus__plexus-utils
morefixes-378f408f498b20422fe9
codeql_java_benchmark_top30_v2/tasks/morefixes-378f408f498b20422fe9
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/org/codehaus/plexus/util/Expand.java b/src/main/java/org/codehaus/plexus/util/Expand.java index 8abcdd95..6ac71dc1 100644 --- a/src/main/java/org/codehaus/plexus/util/Expand.java +++ b/src/main/java/org/codehaus/plexus/util/Expand.java @@ -111,8 +111,19 @@ public class Expand { t...
# Patch-overlapping Java context before the fix ## `src/main/java/org/codehaus/plexus/util/Expand.java` (changed lines (114, 115, 116)) ```java package org.codehaus.plexus.util; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * *...
# Patch-overlapping Java context after the fix ## `src/main/java/org/codehaus/plexus/util/Expand.java` (changed lines (114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126)) ```java package org.codehaus.plexus.util; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2002 The Apache So...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-378f408f498b20422fe9", "dataset_id": "morefixes", "dataset_item_id": "morefixes-378f408f498b20422fe9", "project_id": "morefixes__codehaus-plexus__plexus-utils", "language": "java", "backend": "codeql" }, "changed_ja...
null
codeql
CVE-2024-39118
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-3cc69a690ef991c8bd71
CodeQL java
java
morefixes__mommyheather__advancedbackups
morefixes-3cc69a690ef991c8bd71
codeql_java_benchmark_top30_v2/tasks/morefixes-3cc69a690ef991c8bd71
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/co/uk/mommyheather/advancedbackups/cli/AdvancedBackupsCLI.java b/src/main/java/co/uk/mommyheather/advancedbackups/cli/AdvancedBackupsCLI.java index fb39310..578e9c6 100644 --- a/src/main/java/co/uk/mommyheather/advancedbackups/cli/AdvancedBackupsCLI.java +++ b/src/main/java/co/uk/mommyheather...
# Patch-overlapping Java context before the fix ## `src/main/java/co/uk/mommyheather/advancedbackups/cli/AdvancedBackupsCLI.java` (changed lines (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46...
# Patch-overlapping Java context after the fix ## `src/main/java/co/uk/mommyheather/advancedbackups/cli/AdvancedBackupsCLI.java` (changed lines (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-3cc69a690ef991c8bd71", "dataset_id": "morefixes", "dataset_item_id": "morefixes-3cc69a690ef991c8bd71", "project_id": "morefixes__mommyheather__advancedbackups", "language": "java", "backend": "codeql" }, "changed_ja...
null
codeql
CVE-2024-36114
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-462566b2f857f458bf20
CodeQL java
java
morefixes__airlift__aircompressor
morefixes-462566b2f857f458bf20
codeql_java_benchmark_top30_v2/tasks/morefixes-462566b2f857f458bf20
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/io/airlift/compress/snappy/SnappyRawDecompressor.java b/src/main/java/io/airlift/compress/snappy/SnappyRawDecompressor.java index 2871b9a..b11907b 100644 --- a/src/main/java/io/airlift/compress/snappy/SnappyRawDecompressor.java +++ b/src/main/java/io/airlift/compress/snappy/SnappyRawDecompres...
# Patch-overlapping Java context before the fix ## `src/main/java/io/airlift/compress/snappy/SnappyRawDecompressor.java` (changed lines (309,)) ```java /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
# Patch-overlapping Java context after the fix ## `src/main/java/io/airlift/compress/snappy/SnappyRawDecompressor.java` (changed lines (309, 310, 311)) ```java /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-462566b2f857f458bf20", "dataset_id": "morefixes", "dataset_item_id": "morefixes-462566b2f857f458bf20", "project_id": "morefixes__airlift__aircompressor", "language": "java", "backend": "codeql" }, "changed_java_file...
null
codeql
CVE-2020-36640
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-4a0720656247f4fdd55d
CodeQL java
java
morefixes__bonitasoft__bonita-connector-webservice
morefixes-4a0720656247f4fdd55d
codeql_java_benchmark_top30_v2/tasks/morefixes-4a0720656247f4fdd55d
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/org/bonitasoft/connectors/ws/SecureWSConnector.java b/src/main/java/org/bonitasoft/connectors/ws/SecureWSConnector.java index 7215800..1fc63ac 100644 --- a/src/main/java/org/bonitasoft/connectors/ws/SecureWSConnector.java +++ b/src/main/java/org/bonitasoft/connectors/ws/SecureWSConnector.java...
# Patch-overlapping Java context before the fix ## `src/main/java/org/bonitasoft/connectors/ws/SecureWSConnector.java` (changed lines (32, 112, 113, 184, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 208, 209, 211, 212, 216, 217, 248, 249, 250, 251, 271, 272, 273, 274, 291, 292, 326, 327, 328, 329, 330, 331, 334, ...
# Patch-overlapping Java context after the fix ## `src/main/java/org/bonitasoft/connectors/ws/SecureWSConnector.java` (changed lines (32, 113, 185, 189, 191, 193, 195, 197, 208, 211, 216, 248, 250, 271, 273, 291, 326, 328, 330, 334, 336, 340, 343, 347, 349, 395, 396, 397, 398, 423, 458, 459, 460, 461)) ```java /* * ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-4a0720656247f4fdd55d", "dataset_id": "morefixes", "dataset_item_id": "morefixes-4a0720656247f4fdd55d", "project_id": "morefixes__bonitasoft__bonita-connector-webservice", "language": "java", "backend": "codeql" }, "...
null
codeql
CVE-2023-48299
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-623c5f3c0558ba463c5a
CodeQL java
java
morefixes__pytorch__serve
morefixes-623c5f3c0558ba463c5a
codeql_java_benchmark_top30_v2/tasks/morefixes-623c5f3c0558ba463c5a
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/frontend/archive/src/main/java/org/pytorch/serve/archive/utils/ZipUtils.java b/frontend/archive/src/main/java/org/pytorch/serve/archive/utils/ZipUtils.java index c27eae6..62e625f 100644 --- a/frontend/archive/src/main/java/org/pytorch/serve/archive/utils/ZipUtils.java +++ b/frontend/archive/src/main/java/o...
# Patch-overlapping Java context before the fix ## `frontend/archive/src/main/java/org/pytorch/serve/archive/utils/ZipUtils.java` (changed lines (31, 32, 33, 111)) ```java package org.pytorch.serve.archive.utils; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.IOExcepti...
# Patch-overlapping Java context after the fix ## `frontend/archive/src/main/java/org/pytorch/serve/archive/utils/ZipUtils.java` (changed lines (31, 32, 33, 34, 35, 36, 37, 38, 39, 118, 119, 120, 121, 122, 123, 124, 125)) ```java package org.pytorch.serve.archive.utils; import java.io.File; import java.io.FileFilter...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-623c5f3c0558ba463c5a", "dataset_id": "morefixes", "dataset_item_id": "morefixes-623c5f3c0558ba463c5a", "project_id": "morefixes__pytorch__serve", "language": "java", "backend": "codeql" }, "changed_java_files": [ ...
null
codeql
CVE-2024-1102
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-6c80dd14ea98e73d8b2e
CodeQL java
java
morefixes__jberet__jsr352
morefixes-6c80dd14ea98e73d8b2e
codeql_java_benchmark_top30_v2/tasks/morefixes-6c80dd14ea98e73d8b2e
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/jberet-core/src/main/java/org/jberet/repository/JdbcRepository.java b/jberet-core/src/main/java/org/jberet/repository/JdbcRepository.java index 12f5483..0c16445 100644 --- a/jberet-core/src/main/java/org/jberet/repository/JdbcRepository.java +++ b/jberet-core/src/main/java/org/jberet/repository/JdbcReposit...
# Patch-overlapping Java context before the fix ## `jberet-core/src/main/java/org/jberet/repository/JdbcRepository.java` (changed lines (1115, 1116)) ```java /* * Copyright (c) 2013-2017 Red Hat, Inc. and/or its affiliates. * * This program and the accompanying materials are made * available under the terms of th...
# Patch-overlapping Java context after the fix ## `jberet-core/src/main/java/org/jberet/repository/JdbcRepository.java` (changed lines (1115,)) ```java /* * Copyright (c) 2013-2017 Red Hat, Inc. and/or its affiliates. * * This program and the accompanying materials are made * available under the terms of the Ecli...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-6c80dd14ea98e73d8b2e", "dataset_id": "morefixes", "dataset_item_id": "morefixes-6c80dd14ea98e73d8b2e", "project_id": "morefixes__jberet__jsr352", "language": "java", "backend": "codeql" }, "changed_java_files": [ ...
null
codeql
CVE-2022-41967
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-76076416f1349da24444
CodeQL java
java
morefixes__hyperadev__dragonfly
morefixes-76076416f1349da24444
codeql_java_benchmark_top30_v2/tasks/morefixes-76076416f1349da24444
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/dev/hypera/dragonfly/Dragonfly.java b/src/main/java/dev/hypera/dragonfly/Dragonfly.java index 3b99701..ef59387 100644 --- a/src/main/java/dev/hypera/dragonfly/Dragonfly.java +++ b/src/main/java/dev/hypera/dragonfly/Dragonfly.java @@ -40,6 +40,7 @@ import java.util.concurrent.CompletableFuture...
# Patch-overlapping Java context before the fix ## `src/main/java/dev/hypera/dragonfly/Dragonfly.java` (changed lines (43, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 77, 78, 87, 88, 140, 141, 144, 145, 154, 155)) ```java /* * Dragonfly - Runtime dependency management library * Copyright (c) 2021 Joshua Sing <joshua@h...
# Patch-overlapping Java context after the fix ## `src/main/java/dev/hypera/dragonfly/Dragonfly.java` (changed lines (43, 51, 54, 55, 56, 58, 59, 60, 78, 88, 141, 145, 155)) ```java /* * Dragonfly - Runtime dependency management library * Copyright (c) 2021 Joshua Sing <joshua@hypera.dev> * * Permission is here...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-76076416f1349da24444", "dataset_id": "morefixes", "dataset_item_id": "morefixes-76076416f1349da24444", "project_id": "morefixes__hyperadev__dragonfly", "language": "java", "backend": "codeql" }, "changed_java_files"...
null
codeql
CVE-2025-4641
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-80a186235f1faf976a71
CodeQL java
java
morefixes__bonigarcia__webdrivermanager
morefixes-80a186235f1faf976a71
codeql_java_benchmark_top30_v2/tasks/morefixes-80a186235f1faf976a71
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java b/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java index 84abd3eb..6a43e3be 100644 --- a/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java +++ b/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java @@ -89,6 +89,7 @@...
# Patch-overlapping Java context before the fix ## `src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java` (changed lines (92, 1575)) ```java /* * (C) Copyright 2015 Boni Garcia (https://bonigarcia.github.io/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
# Patch-overlapping Java context after the fix ## `src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java` (changed lines (92, 1576, 1577, 1578, 1579, 1580)) ```java /* * (C) Copyright 2015 Boni Garcia (https://bonigarcia.github.io/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-80a186235f1faf976a71", "dataset_id": "morefixes", "dataset_item_id": "morefixes-80a186235f1faf976a71", "project_id": "morefixes__bonigarcia__webdrivermanager", "language": "java", "backend": "codeql" }, "changed_jav...
null
codeql
CVE-2020-1729
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-8641a4da2de2d0610576
CodeQL java
java
morefixes__smallrye__smallrye-config
morefixes-8641a4da2de2d0610576
codeql_java_benchmark_top30_v2/tasks/morefixes-8641a4da2de2d0610576
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/implementation/src/main/java/io/smallrye/config/SecuritySupport.java b/implementation/src/main/java/io/smallrye/config/SecuritySupport.java index c3bfe66..0f9e1e4 100644 --- a/implementation/src/main/java/io/smallrye/config/SecuritySupport.java +++ b/implementation/src/main/java/io/smallrye/config/Security...
# Patch-overlapping Java context before the fix ## `implementation/src/main/java/io/smallrye/config/SecuritySupport.java` (changed lines (27, 28, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)) ```java /* * Copyright 2018 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not...
# Patch-overlapping Java context after the fix ## `implementation/src/main/java/io/smallrye/config/SecuritySupport.java` (changed lines (27, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46)) ```java /* * Copyright 2018 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-8641a4da2de2d0610576", "dataset_id": "morefixes", "dataset_item_id": "morefixes-8641a4da2de2d0610576", "project_id": "morefixes__smallrye__smallrye-config", "language": "java", "backend": "codeql" }, "changed_java_f...
null
codeql
CVE-2022-29631
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-8e4d1bd2b930ae852ae1
CodeQL java
java
morefixes__oblac__jodd-http
morefixes-8e4d1bd2b930ae852ae1
codeql_java_benchmark_top30_v2/tasks/morefixes-8e4d1bd2b930ae852ae1
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/jodd/http/HttpRequest.java b/src/main/java/jodd/http/HttpRequest.java index 544dd86..70138e5 100644 --- a/src/main/java/jodd/http/HttpRequest.java +++ b/src/main/java/jodd/http/HttpRequest.java @@ -27,6 +27,7 @@ package jodd.http; import jodd.net.HttpMethod; import jodd.net.MimeTypes; +im...
# Patch-overlapping Java context before the fix ## `src/main/java/jodd/http/HttpRequest.java` (changed lines (30, 40, 340, 342, 343, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374)) ```java // Copyright (c) 2003-present, Jodd Team (http...
# Patch-overlapping Java context after the fix ## `src/main/java/jodd/http/HttpRequest.java` (changed lines (30, 41, 340, 343, 350, 351, 352, 353, 354, 355, 357, 359, 360, 362, 364, 365, 366, 368, 369, 370)) ```java // Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistributio...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-8e4d1bd2b930ae852ae1", "dataset_id": "morefixes", "dataset_item_id": "morefixes-8e4d1bd2b930ae852ae1", "project_id": "morefixes__oblac__jodd-http", "language": "java", "backend": "codeql" }, "changed_java_files": [ ...
null
codeql
CVE-2020-17534
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-9db4a0f5f07f59debbce
CodeQL java
java
morefixes__apache__netbeans-html4j
morefixes-9db4a0f5f07f59debbce
codeql_java_benchmark_top30_v2/tasks/morefixes-9db4a0f5f07f59debbce
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/webkit/src/main/java/org/netbeans/html/presenters/webkit/UnJarResources.java b/webkit/src/main/java/org/netbeans/html/presenters/webkit/UnJarResources.java index fb00113..1559a6d 100644 --- a/webkit/src/main/java/org/netbeans/html/presenters/webkit/UnJarResources.java +++ b/webkit/src/main/java/org/netbean...
# Patch-overlapping Java context before the fix ## `webkit/src/main/java/org/netbeans/html/presenters/webkit/UnJarResources.java` (changed lines (42, 43, 44, 45)) ```java /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed wi...
# Patch-overlapping Java context after the fix ## `webkit/src/main/java/org/netbeans/html/presenters/webkit/UnJarResources.java` (changed lines (42,)) ```java /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-9db4a0f5f07f59debbce", "dataset_id": "morefixes", "dataset_item_id": "morefixes-9db4a0f5f07f59debbce", "project_id": "morefixes__apache__netbeans-html4j", "language": "java", "backend": "codeql" }, "changed_java_fil...
null
codeql
CVE-2025-67721
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-a624a25672727b30851a
CodeQL java
java
morefixes__airlift__aircompressor
morefixes-a624a25672727b30851a
codeql_java_benchmark_top30_v2/tasks/morefixes-a624a25672727b30851a
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/io/airlift/compress/v3/snappy/SnappyRawDecompressor.java b/src/main/java/io/airlift/compress/v3/snappy/SnappyRawDecompressor.java index 00728c2..246ee7e 100644 --- a/src/main/java/io/airlift/compress/v3/snappy/SnappyRawDecompressor.java +++ b/src/main/java/io/airlift/compress/v3/snappy/Snappy...
# Patch-overlapping Java context before the fix ## `src/main/java/io/airlift/compress/v3/snappy/SnappyRawDecompressor.java` (changed lines (153, 154)) ```java /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a c...
# Patch-overlapping Java context after the fix ## `src/main/java/io/airlift/compress/v3/snappy/SnappyRawDecompressor.java` (changed lines (153,)) ```java /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy o...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-a624a25672727b30851a", "dataset_id": "morefixes", "dataset_item_id": "morefixes-a624a25672727b30851a", "project_id": "morefixes__airlift__aircompressor", "language": "java", "backend": "codeql" }, "changed_java_file...
null
codeql
CVE-2022-24913
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-ab625a5d0d2a27547494
CodeQL java
java
morefixes__cowtowncoder__java-merge-sort
morefixes-ab625a5d0d2a27547494
codeql_java_benchmark_top30_v2/tasks/morefixes-ab625a5d0d2a27547494
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/com/fasterxml/sort/std/StdTempFileProvider.java b/src/main/java/com/fasterxml/sort/std/StdTempFileProvider.java index d2e37fa..213f9eb 100644 --- a/src/main/java/com/fasterxml/sort/std/StdTempFileProvider.java +++ b/src/main/java/com/fasterxml/sort/std/StdTempFileProvider.java @@ -1,6 +1,7 @@...
# Patch-overlapping Java context before the fix ## `src/main/java/com/fasterxml/sort/std/StdTempFileProvider.java` (changed lines (4, 38, 39)) ```java package com.fasterxml.sort.std; import java.io.*; import com.fasterxml.sort.TempFileProvider; /** * Default {@link TempFileProvider} implementation which uses JDK ...
# Patch-overlapping Java context after the fix ## `src/main/java/com/fasterxml/sort/std/StdTempFileProvider.java` (changed lines (4, 39)) ```java package com.fasterxml.sort.std; import java.io.*; import java.nio.file.Files; import com.fasterxml.sort.TempFileProvider; /** * Default {@link TempFileProvider} impleme...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-ab625a5d0d2a27547494", "dataset_id": "morefixes", "dataset_item_id": "morefixes-ab625a5d0d2a27547494", "project_id": "morefixes__cowtowncoder__java-merge-sort", "language": "java", "backend": "codeql" }, "changed_ja...
null
codeql
CVE-2024-57699
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-ac88413b62ef5803c04f
CodeQL java
java
morefixes__netplex__json-smart-v2
morefixes-ac88413b62ef5803c04f
codeql_java_benchmark_top30_v2/tasks/morefixes-ac88413b62ef5803c04f
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/json-smart/src/main/java/net/minidev/json/parser/JSONParser.java b/json-smart/src/main/java/net/minidev/json/parser/JSONParser.java index 7a46065..e33015f 100644 --- a/json-smart/src/main/java/net/minidev/json/parser/JSONParser.java +++ b/json-smart/src/main/java/net/minidev/json/parser/JSONParser.java @@ ...
# Patch-overlapping Java context before the fix ## `json-smart/src/main/java/net/minidev/json/parser/JSONParser.java` (changed lines (118, 119, 126, 127, 132, 133)) ```java package net.minidev.json.parser; /* * Copyright 2011-2024 JSON-SMART authors * * Licensed under the Apache License, Version 2.0 (the "Lice...
# Patch-overlapping Java context after the fix ## `json-smart/src/main/java/net/minidev/json/parser/JSONParser.java` (changed lines (118, 126, 132)) ```java package net.minidev.json.parser; /* * Copyright 2011-2024 JSON-SMART authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you ma...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-ac88413b62ef5803c04f", "dataset_id": "morefixes", "dataset_item_id": "morefixes-ac88413b62ef5803c04f", "project_id": "morefixes__netplex__json-smart-v2", "language": "java", "backend": "codeql" }, "changed_java_file...
null
codeql
CVE-2025-67721
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-cf8752e9dc2f57b1d5c8
CodeQL java
java
morefixes__airlift__aircompressor
morefixes-cf8752e9dc2f57b1d5c8
codeql_java_benchmark_top30_v2/tasks/morefixes-cf8752e9dc2f57b1d5c8
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/io/airlift/compress/v3/lz4/Lz4RawDecompressor.java b/src/main/java/io/airlift/compress/v3/lz4/Lz4RawDecompressor.java index 8cb036e..4ad7c1e 100644 --- a/src/main/java/io/airlift/compress/v3/lz4/Lz4RawDecompressor.java +++ b/src/main/java/io/airlift/compress/v3/lz4/Lz4RawDecompressor.java @@ ...
# Patch-overlapping Java context before the fix ## `src/main/java/io/airlift/compress/v3/lz4/Lz4RawDecompressor.java` (changed lines (117, 118)) ```java /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of...
# Patch-overlapping Java context after the fix ## `src/main/java/io/airlift/compress/v3/lz4/Lz4RawDecompressor.java` (changed lines (117,)) ```java /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-cf8752e9dc2f57b1d5c8", "dataset_id": "morefixes", "dataset_item_id": "morefixes-cf8752e9dc2f57b1d5c8", "project_id": "morefixes__airlift__aircompressor", "language": "java", "backend": "codeql" }, "changed_java_file...
null
codeql
CVE-2022-4494
codeql_java_benchmark_top30_v2
codeql_java_benchmark_top30_v2/morefixes-f298b6158c5168025365
CodeQL java
java
morefixes__bspkrs__mcpmappingviewer
morefixes-f298b6158c5168025365
codeql_java_benchmark_top30_v2/tasks/morefixes-f298b6158c5168025365
# Java CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Java context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session, bu...
diff --git a/src/main/java/bspkrs/mmv/RemoteZipHandler.java b/src/main/java/bspkrs/mmv/RemoteZipHandler.java index c273e40..624c6ef 100644 --- a/src/main/java/bspkrs/mmv/RemoteZipHandler.java +++ b/src/main/java/bspkrs/mmv/RemoteZipHandler.java @@ -220,6 +220,9 @@ public class RemoteZipHandler { ...
# Patch-overlapping Java context before the fix ## `src/main/java/bspkrs/mmv/RemoteZipHandler.java` (changed lines (223,)) ```java /* * Copyright (C) 2015 bspkrs * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation * files (the "Software"),...
# Patch-overlapping Java context after the fix ## `src/main/java/bspkrs/mmv/RemoteZipHandler.java` (changed lines (223, 224, 225)) ```java /* * Copyright (C) 2015 bspkrs * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation * files (the "Sof...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-f298b6158c5168025365", "dataset_id": "morefixes", "dataset_item_id": "morefixes-f298b6158c5168025365", "project_id": "morefixes__bspkrs__mcpmappingviewer", "language": "java", "backend": "codeql" }, "changed_java_fi...
null
codeql
CVE-2023-33194
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-040d724ca8211a3aaf1d
CodeQL javascript
javascript
morefixes__craftcms__cms
morefixes-040d724ca8211a3aaf1d
codeql_javascript_benchmark_top30_v1/tasks/morefixes-040d724ca8211a3aaf1d
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/src/web/assets/quickpost/dist/QuickPostWidget.js b/src/web/assets/quickpost/dist/QuickPostWidget.js index adef26aec4..7ba6920033 100644 --- a/src/web/assets/quickpost/dist/QuickPostWidget.js +++ b/src/web/assets/quickpost/dist/QuickPostWidget.js @@ -1,2 +1,2 @@ -!function(){var t;t=jQuery,Craft.QuickPostWi...
# Patch-overlapping JavaScript context before the fix ## `src/web/assets/quickpost/dist/QuickPostWidget.js` (changed lines (1, 2)) ```javascript !function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading...
# Patch-overlapping JavaScript context after the fix ## `src/web/assets/quickpost/dist/QuickPostWidget.js` (changed lines (1,)) ```javascript !function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-040d724ca8211a3aaf1d", "dataset_id": "morefixes", "dataset_item_id": "morefixes-040d724ca8211a3aaf1d", "project_id": "morefixes__craftcms__cms", "language": "javascript", "backend": "codeql" }, "changed_javascript_f...
null
codeql
CVE-2026-25642
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-04314885419e817d3b17
CodeQL javascript
javascript
morefixes__hedgedoc__hedgedoc
morefixes-04314885419e817d3b17
codeql_javascript_benchmark_top30_v1/tasks/morefixes-04314885419e817d3b17
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/app.js b/app.js index b935306d5..34a4e1a72 100644 --- a/app.js +++ b/app.js @@ -156,6 +156,13 @@ app.use(cookieParser()) app.use(i18n.init) // routes without sessions +// security headers for uploads +app.use('/uploads', (req, res, next) => { + res.set('Content-Disposition', 'attachment') + res.set('...
# Patch-overlapping JavaScript context before the fix ## `app.js` (changed lines (159, 169, 170, 171, 172, 173, 174, 175)) ```javascript 'use strict' // app // external modules const express = require('express') const ejs = require('ejs') const passport = require('passport') const methodOverride = require('method-ov...
# Patch-overlapping JavaScript context after the fix ## `app.js` (changed lines (159, 160, 161, 162, 163, 164, 165, 176)) ```javascript 'use strict' // app // external modules const express = require('express') const ejs = require('ejs') const passport = require('passport') const methodOverride = require('method-ove...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-04314885419e817d3b17", "dataset_id": "morefixes", "dataset_item_id": "morefixes-04314885419e817d3b17", "project_id": "morefixes__hedgedoc__hedgedoc", "language": "javascript", "backend": "codeql" }, "changed_javascr...
null
codeql
CVE-2025-59526
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-08f7e6287de57ef9a5c8
CodeQL javascript
javascript
morefixes__eladnava__mailgen
morefixes-08f7e6287de57ef9a5c8
codeql_javascript_benchmark_top30_v1/tasks/morefixes-08f7e6287de57ef9a5c8
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/index.js b/index.js index 885743f..9b9d96e 100644 --- a/index.js +++ b/index.js @@ -123,7 +123,7 @@ Mailgen.prototype.generatePlaintext = function (params) { } // Strip all HTML tags from plaintext output - output = output.replace(/<.+?>/g, ''); + output = output.replace(/<(.|\n)+?>/g, ''...
# Patch-overlapping JavaScript context before the fix ## `index.js` (changed lines (126, 127)) ```javascript var he = require('he'); var fs = require('fs'); var ejs = require('ejs'); var juice = require('juice'); // Package constructor function Mailgen(options) { // Set options as instance members this.theme...
# Patch-overlapping JavaScript context after the fix ## `index.js` (changed lines (126,)) ```javascript var he = require('he'); var fs = require('fs'); var ejs = require('ejs'); var juice = require('juice'); // Package constructor function Mailgen(options) { // Set options as instance members this.theme = op...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-08f7e6287de57ef9a5c8", "dataset_id": "morefixes", "dataset_item_id": "morefixes-08f7e6287de57ef9a5c8", "project_id": "morefixes__eladnava__mailgen", "language": "javascript", "backend": "codeql" }, "changed_javascri...
null
codeql
CVE-2018-3758
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-0e82cb4ad70fc2c896ef
CodeQL javascript
javascript
morefixes__mrvautin__expresscart
morefixes-0e82cb4ad70fc2c896ef
codeql_javascript_benchmark_top30_v1/tasks/morefixes-0e82cb4ad70fc2c896ef
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/lib/common.js b/lib/common.js index 7c4841f..13b193f 100644 --- a/lib/common.js +++ b/lib/common.js @@ -35,6 +35,17 @@ const restrictedRoutes = [ {route: '/admin/file/delete', response: 'json'} ]; +// Allowed mime types for product images +exports.allowedMimeType = [ + 'image/jpeg', + 'image/...
# Patch-overlapping JavaScript context before the fix ## `lib/common.js` (changed lines (38,)) ```javascript const _ = require('lodash'); const uglifycss = require('uglifycss'); const colors = require('colors'); const lunr = require('lunr'); const cheerio = require('cheerio'); const fs = require('fs'); const path = r...
# Patch-overlapping JavaScript context after the fix ## `lib/common.js` (changed lines (38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48)) ```javascript const _ = require('lodash'); const uglifycss = require('uglifycss'); const colors = require('colors'); const lunr = require('lunr'); const cheerio = require('cheerio'); co...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-0e82cb4ad70fc2c896ef", "dataset_id": "morefixes", "dataset_item_id": "morefixes-0e82cb4ad70fc2c896ef", "project_id": "morefixes__mrvautin__expresscart", "language": "javascript", "backend": "codeql" }, "changed_java...
null
codeql
CVE-2026-45787
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-0e8f49f3d1cc46668f9b
CodeQL javascript
javascript
morefixes__electerm__electerm
morefixes-0e8f49f3d1cc46668f9b
codeql_javascript_benchmark_top30_v1/tasks/morefixes-0e8f49f3d1cc46668f9b
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/src/app/lib/enc.js b/src/app/lib/enc.js index ce608ba9..b889766b 100644 --- a/src/app/lib/enc.js +++ b/src/app/lib/enc.js @@ -1,8 +1,23 @@ /** * data encrypt/decrypt + * + * New format (GCM): 'gcm:<iv_hex>:<salt_hex>:<authtag_hex>:<ciphertext_hex>' + * Legacy format: '<ciphertext_hex>' (pure hex, ...
# Patch-overlapping JavaScript context before the fix ## `src/app/lib/enc.js` (changed lines (3, 5, 6, 22, 23, 24, 26, 27, 28, 31, 32, 37, 38, 39, 41, 42, 43, 44, 45, 53, 54, 55, 57, 58, 59, 62, 63, 68, 69, 70, 72, 73, 74, 75, 76)) ```javascript /** * data encrypt/decrypt */ const algorithmDefault = 'aes-192-cbc' ...
# Patch-overlapping JavaScript context after the fix ## `src/app/lib/enc.js` (changed lines (3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 37, 40, 41, 42, 46, 47, 53, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 81, 84, 85, 86, 90, 91, 97, 100, 101, 102, 103, 104, 105, 106, 107, 108,...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-0e8f49f3d1cc46668f9b", "dataset_id": "morefixes", "dataset_item_id": "morefixes-0e8f49f3d1cc46668f9b", "project_id": "morefixes__electerm__electerm", "language": "javascript", "backend": "codeql" }, "changed_javascr...
null
codeql
CVE-2021-3801
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-0ea8f5f13e7432539721
CodeQL javascript
javascript
morefixes__prismjs__prism
morefixes-0ea8f5f13e7432539721
codeql_javascript_benchmark_top30_v1/tasks/morefixes-0ea8f5f13e7432539721
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/components/prism-markup.js b/components/prism-markup.js index f73fc314..58d8b352 100644 --- a/components/prism-markup.js +++ b/components/prism-markup.js @@ -1,5 +1,5 @@ Prism.languages.markup = { - 'comment': /<!--[\s\S]*?-->/, + 'comment': /<!--(?:(?!<!--)[\s\S])*?-->/, 'prolog': /<\?[\s\S]+?\?>/, '...
# Patch-overlapping JavaScript context before the fix ## `components/prism-markup.js` (changed lines (2, 3)) ```javascript Prism.languages.markup = { 'comment': /<!--[\s\S]*?-->/, 'prolog': /<\?[\s\S]+?\?>/, 'doctype': { // https://www.w3.org/TR/xml/#NT-doctypedecl pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']...
# Patch-overlapping JavaScript context after the fix ## `components/prism-markup.js` (changed lines (2,)) ```javascript Prism.languages.markup = { 'comment': /<!--(?:(?!<!--)[\s\S])*?-->/, 'prolog': /<\?[\s\S]+?\?>/, 'doctype': { // https://www.w3.org/TR/xml/#NT-doctypedecl pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-0ea8f5f13e7432539721", "dataset_id": "morefixes", "dataset_item_id": "morefixes-0ea8f5f13e7432539721", "project_id": "morefixes__prismjs__prism", "language": "javascript", "backend": "codeql" }, "changed_javascript_...
null
codeql
CVE-2025-49590
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-0f4271d4851600835c47
CodeQL javascript
javascript
morefixes__cryptpad__cryptpad
morefixes-0f4271d4851600835c47
codeql_javascript_benchmark_top30_v1/tasks/morefixes-0f4271d4851600835c47
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/www/bounce/main.js b/www/bounce/main.js index e8d658602..ac4a10968 100644 --- a/www/bounce/main.js +++ b/www/bounce/main.js @@ -60,20 +60,9 @@ define(['/api/config'], function (ApiConfig) { window.location.href = target.href; }; - // Local URLs don't require any warning and can navigate ...
# Patch-overlapping JavaScript context before the fix ## `www/bounce/main.js` (changed lines (63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 89)) ```javascript // SPDX-FileCopyrightText: 2023 XWiki CryptPad Team <contact@cryptpad.org> and contributors // // SPDX-License-Identifier: AGPL-3.0-or-later def...
# Patch-overlapping JavaScript context after the fix ## `www/bounce/main.js` (changed lines (63, 65, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89)) ```javascript // SPDX-FileCopyrightText: 2023 XWiki CryptPad Team <contact@cryptpad.org> and contributors // // SPDX-License-Identifier: AGPL-3.0-or-later define(['/ap...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-0f4271d4851600835c47", "dataset_id": "morefixes", "dataset_item_id": "morefixes-0f4271d4851600835c47", "project_id": "morefixes__cryptpad__cryptpad", "language": "javascript", "backend": "codeql" }, "changed_javascr...
null
codeql
CVE-2024-25981
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-135296414af3a0faf089
CodeQL javascript
javascript
morefixes__moodle__moodle
morefixes-135296414af3a0faf089
codeql_javascript_benchmark_top30_v1/tasks/morefixes-135296414af3a0faf089
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/mod/forum/amd/build/form-user-selector.min.js b/mod/forum/amd/build/form-user-selector.min.js index 5a1da30287531976aa34332e3bfdf1e23a0008d9..19447f7cdb6752a91f454a572e945897b4d5d5cc 100644 GIT binary patch delta 79 zcmdnN@sneNHj}1Ka(-S(YDGzAimi%9acWL#a!G!Xre0!6Ns)$9N@7W(E>yu}b*4HI Pgla3ezRgRSCNly6cpe=d d...
# Patch-overlapping JavaScript context before the fix ## `mod/forum/amd/build/form-user-selector.min.js` (changed lines ()) ```javascript /** * Enrolled user selector module. * * @module mod_forum/form-user-selector * @copyright 2019 Shamim Rezaie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v...
# Patch-overlapping JavaScript context after the fix ## `mod/forum/amd/build/form-user-selector.min.js` (changed lines ()) ```javascript /** * Enrolled user selector module. * * @module mod_forum/form-user-selector * @copyright 2019 Shamim Rezaie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-135296414af3a0faf089", "dataset_id": "morefixes", "dataset_item_id": "morefixes-135296414af3a0faf089", "project_id": "morefixes__moodle__moodle", "language": "javascript", "backend": "codeql" }, "changed_javascript_...
null
codeql
CVE-2014-5273
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-16768fdfa00c963539dc
CodeQL javascript
javascript
morefixes__phpmyadmin__phpmyadmin
morefixes-16768fdfa00c963539dc
codeql_javascript_benchmark_top30_v1/tasks/morefixes-16768fdfa00c963539dc
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/js/functions.js b/js/functions.js index a970a81584..bcdead8e17 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2692,7 +2692,7 @@ AJAX.registerOnload('functions.js', function () { } else { title = PMA_messages.enum_columnVals.replace( /%s/, - '"' ...
# Patch-overlapping JavaScript context before the fix ## `js/functions.js` (changed lines (2695, 2696)) ```javascript /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * general function, usually for data manipulation pages * */ /** * @var $table_clone reference to the action links on the tbl_structure page */ var ...
# Patch-overlapping JavaScript context after the fix ## `js/functions.js` (changed lines (2695,)) ```javascript /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * general function, usually for data manipulation pages * */ /** * @var $table_clone reference to the action links on the tbl_structure page */ var $table...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-16768fdfa00c963539dc", "dataset_id": "morefixes", "dataset_item_id": "morefixes-16768fdfa00c963539dc", "project_id": "morefixes__phpmyadmin__phpmyadmin", "language": "javascript", "backend": "codeql" }, "changed_jav...
null
codeql
CVE-2024-40761
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-17d21311a4f5af9bbc4f
CodeQL javascript
javascript
morefixes__apache__incubator-answer
morefixes-17d21311a4f5af9bbc4f
codeql_javascript_benchmark_top30_v1/tasks/morefixes-17d21311a4f5af9bbc4f
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/ui/src/pages/home/reviewer/Profile/index.tsx b/ui/src/pages/home/reviewer/Profile/index.tsx index ab2ee0f1..9af28ce6 100644 --- a/ui/src/pages/home/reviewer/Profile/index.tsx +++ b/ui/src/pages/home/reviewer/Profile/index.tsx @@ -21,7 +21,7 @@ import React, { FormEvent, useState, useEffect } from 'react'; ...
# Patch-overlapping JavaScript context before the fix ## `ui/src/pages/home/reviewer/Profile/index.tsx` (changed lines (24, 25, 276, 277)) ```javascript /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for ad...
# Patch-overlapping JavaScript context after the fix ## `ui/src/pages/home/reviewer/Profile/index.tsx` (changed lines (24, 276)) ```javascript /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional i...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-17d21311a4f5af9bbc4f", "dataset_id": "morefixes", "dataset_item_id": "morefixes-17d21311a4f5af9bbc4f", "project_id": "morefixes__apache__incubator-answer", "language": "javascript", "backend": "codeql" }, "changed_j...
null
codeql
CVE-2025-46344
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-1cf55be2336b09a515a6
CodeQL javascript
javascript
morefixes__auth0__nextjs-auth0
morefixes-1cf55be2336b09a515a6
codeql_javascript_benchmark_top30_v1/tasks/morefixes-1cf55be2336b09a515a6
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/src/server/auth-client.test.ts b/src/server/auth-client.test.ts index 459088b4..097b90fd 100644 --- a/src/server/auth-client.test.ts +++ b/src/server/auth-client.test.ts @@ -496,7 +496,9 @@ ca/T0LLtgmbMmxSv/MmzIg== createdAt: Math.floor(Date.now() / 1000) } }; - cons...
# Patch-overlapping JavaScript context before the fix ## `src/server/auth-client.test.ts` (changed lines (499, 500, 519, 520, 532, 533, 871, 872, 877, 878, 1026, 1027, 1032, 1033, 1359, 1360, 1366, 1367, 1406, 1407, 1412, 1413, 1452, 1453, 1458, 1459, 1586, 1587, 1592, 1593, 1665, 1666, 1671, 1672, 1745, 1746, 1751, 1...
# Patch-overlapping JavaScript context after the fix ## `src/server/auth-client.test.ts` (changed lines (499, 500, 501, 521, 534, 873, 879, 1028, 1034, 1361, 1368, 1408, 1414, 1454, 1460, 1588, 1594, 1667, 1673, 1747, 1753, 1843, 1844, 1845, 1918, 1919, 1920, 2182, 2183, 2184, 2279, 2280, 2283, 2301, 2315, 2390, 2391,...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-1cf55be2336b09a515a6", "dataset_id": "morefixes", "dataset_item_id": "morefixes-1cf55be2336b09a515a6", "project_id": "morefixes__auth0__nextjs-auth0", "language": "javascript", "backend": "codeql" }, "changed_javasc...
null
codeql
CVE-2026-22819
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-312479357bdfa998bf6e
CodeQL javascript
javascript
morefixes__outray-tunnel__outray
morefixes-312479357bdfa998bf6e
codeql_javascript_benchmark_top30_v1/tasks/morefixes-312479357bdfa998bf6e
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/apps/web/src/routes/api/$orgSlug/subdomains/index.ts b/apps/web/src/routes/api/$orgSlug/subdomains/index.ts index cc85588..994952c 100644 --- a/apps/web/src/routes/api/$orgSlug/subdomains/index.ts +++ b/apps/web/src/routes/api/$orgSlug/subdomains/index.ts @@ -65,14 +65,14 @@ export const Route = createFile...
# Patch-overlapping JavaScript context before the fix ## `apps/web/src/routes/api/$orgSlug/subdomains/index.ts` (changed lines (68, 69, 70, 71, 75, 76)) ```javascript import { createFileRoute } from "@tanstack/react-router"; import { json } from "@tanstack/react-start"; import { eq, sql } from "drizzle-orm"; import ...
# Patch-overlapping JavaScript context after the fix ## `apps/web/src/routes/api/$orgSlug/subdomains/index.ts` (changed lines (68, 69, 70, 75)) ```javascript import { createFileRoute } from "@tanstack/react-router"; import { json } from "@tanstack/react-start"; import { eq, sql } from "drizzle-orm"; import { db } fr...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-312479357bdfa998bf6e", "dataset_id": "morefixes", "dataset_item_id": "morefixes-312479357bdfa998bf6e", "project_id": "morefixes__outray-tunnel__outray", "language": "javascript", "backend": "codeql" }, "changed_java...
null
codeql
CVE-2025-10044
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-374e3093d6d5875aa960
CodeQL javascript
javascript
morefixes__keycloak__keycloak
morefixes-374e3093d6d5875aa960
codeql_javascript_benchmark_top30_v1/tasks/morefixes-374e3093d6d5875aa960
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/js/libs/ui-shared/src/context/ErrorPage.tsx b/js/libs/ui-shared/src/context/ErrorPage.tsx index 5035e7ec8c..248bf94480 100644 --- a/js/libs/ui-shared/src/context/ErrorPage.tsx +++ b/js/libs/ui-shared/src/context/ErrorPage.tsx @@ -7,18 +7,17 @@ import { TextContent, } from "@patternfly/react-core"; imp...
# Patch-overlapping JavaScript context before the fix ## `js/libs/ui-shared/src/context/ErrorPage.tsx` (changed lines (10, 11, 17, 18, 19, 20, 21, 22, 32, 33, 45, 55, 56, 57, 58)) ```javascript import { Button, Modal, ModalVariant, Page, Text, TextContent, } from "@patternfly/react-core"; import { useTran...
# Patch-overlapping JavaScript context after the fix ## `js/libs/ui-shared/src/context/ErrorPage.tsx` (changed lines (10, 17, 19, 20, 31, 44, 45, 56)) ```javascript import { Button, Modal, ModalVariant, Page, Text, TextContent, } from "@patternfly/react-core"; import { useTranslation } from "react-i18next...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-374e3093d6d5875aa960", "dataset_id": "morefixes", "dataset_item_id": "morefixes-374e3093d6d5875aa960", "project_id": "morefixes__keycloak__keycloak", "language": "javascript", "backend": "codeql" }, "changed_javascr...
null
codeql
CVE-2021-4124
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-4b95de19a5da1e74a747
CodeQL javascript
javascript
morefixes__meetecho__janus-gateway
morefixes-4b95de19a5da1e74a747
codeql_javascript_benchmark_top30_v1/tasks/morefixes-4b95de19a5da1e74a747
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/html/textroomtest.js b/html/textroomtest.js index bf95a260..7d5ae832 100644 --- a/html/textroomtest.js +++ b/html/textroomtest.js @@ -351,7 +351,7 @@ function sendPrivateMsg(username) { text: JSON.stringify(message), error: function(reason) { bootbox.alert(reason); }, success: function() { -...
# Patch-overlapping JavaScript context before the fix ## `html/textroomtest.js` (changed lines (354, 355)) ```javascript // We make use of this 'server' variable to provide the address of the // REST Janus API. By default, in this example we assume that Janus is // co-located with the web server hosting the HTML page...
# Patch-overlapping JavaScript context after the fix ## `html/textroomtest.js` (changed lines (354,)) ```javascript // We make use of this 'server' variable to provide the address of the // REST Janus API. By default, in this example we assume that Janus is // co-located with the web server hosting the HTML pages but...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-4b95de19a5da1e74a747", "dataset_id": "morefixes", "dataset_item_id": "morefixes-4b95de19a5da1e74a747", "project_id": "morefixes__meetecho__janus-gateway", "language": "javascript", "backend": "codeql" }, "changed_ja...
null
codeql
CVE-2021-25990
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-4ffaae63e8f8c0012a0f
CodeQL javascript
javascript
morefixes__ifmeorg__ifme
morefixes-4ffaae63e8f8c0012a0f
codeql_javascript_benchmark_top30_v1/tasks/morefixes-4ffaae63e8f8c0012a0f
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/client/app/utils/index.js b/client/app/utils/index.js index 7bd7b039..b0015344 100644 --- a/client/app/utils/index.js +++ b/client/app/utils/index.js @@ -1,6 +1,7 @@ // @flow import axios from 'axios'; import renderHTML from 'react-render-html'; +import { sanitize } from 'dompurify'; const randomStri...
# Patch-overlapping JavaScript context before the fix ## `client/app/utils/index.js` (changed lines (4, 37, 38)) ```javascript // @flow import axios from 'axios'; import renderHTML from 'react-render-html'; const randomString = () => Math.random() .toString(36) .substring(2, 15) + Math.random() .toString(3...
# Patch-overlapping JavaScript context after the fix ## `client/app/utils/index.js` (changed lines (4, 38)) ```javascript // @flow import axios from 'axios'; import renderHTML from 'react-render-html'; import { sanitize } from 'dompurify'; const randomString = () => Math.random() .toString(36) .substring(2, 15) ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-4ffaae63e8f8c0012a0f", "dataset_id": "morefixes", "dataset_item_id": "morefixes-4ffaae63e8f8c0012a0f", "project_id": "morefixes__ifmeorg__ifme", "language": "javascript", "backend": "codeql" }, "changed_javascript_f...
null
codeql
CVE-2023-47635
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-516c6c53716bba29b7f0
CodeQL javascript
javascript
morefixes__decidim__decidim
morefixes-516c6c53716bba29b7f0
codeql_javascript_benchmark_top30_v1/tasks/morefixes-516c6c53716bba29b7f0
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/decidim-templates/app/packs/src/decidim/templates/admin/choose_template.js b/decidim-templates/app/packs/src/decidim/templates/admin/choose_template.js index a363914c45..45299162b8 100644 --- a/decidim-templates/app/packs/src/decidim/templates/admin/choose_template.js +++ b/decidim-templates/app/packs/src/...
# Patch-overlapping JavaScript context before the fix ## `decidim-templates/app/packs/src/decidim/templates/admin/choose_template.js` (changed lines (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)) ```javascript import { datalistSelect } from "src/decidim/datalist_select"; $(() => { const wrapper = document.querySele...
# Patch-overlapping JavaScript context after the fix ## `decidim-templates/app/packs/src/decidim/templates/admin/choose_template.js` (changed lines (16, 17, 18, 19)) ```javascript import { datalistSelect } from "src/decidim/datalist_select"; $(() => { const wrapper = document.querySelector("#choose-template"); i...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-516c6c53716bba29b7f0", "dataset_id": "morefixes", "dataset_item_id": "morefixes-516c6c53716bba29b7f0", "project_id": "morefixes__decidim__decidim", "language": "javascript", "backend": "codeql" }, "changed_javascrip...
null
codeql
CVE-2010-2273
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-550b9b77dc4d0c01e1fe
CodeQL javascript
javascript
morefixes__dojo__dojo
morefixes-550b9b77dc4d0c01e1fe
codeql_javascript_benchmark_top30_v1/tasks/morefixes-550b9b77dc4d0c01e1fe
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/testsDOH/_base/i18nExhaustive.js b/testsDOH/_base/i18nExhaustive.js index 0da303c5..822b8a24 100644 --- a/testsDOH/_base/i18nExhaustive.js +++ b/testsDOH/_base/i18nExhaustive.js @@ -15,10 +15,6 @@ define([ "sync,,rel,./built-i18n-test/rel/dojo,built,./built-i18n-test/built/i18nTest,amd", "sync,,rel,....
# Patch-overlapping JavaScript context before the fix ## `testsDOH/_base/i18nExhaustive.js` (changed lines (18, 19, 20, 21, 34, 35, 36, 37, 50, 51, 52, 53, 66, 67, 68, 69, 78, 79, 80, 81, 91, 92, 93, 94, 104, 105, 106, 107, 116, 117, 118, 119, 120, 121)) ```javascript define([ "../../main", "doh/main", "require" ]...
# Patch-overlapping JavaScript context after the fix ## `testsDOH/_base/i18nExhaustive.js` (changed lines (18, 30, 42, 54, 62, 71, 80, 88)) ```javascript define([ "../../main", "doh/main", "require" ], function(dojo, doh, require){ var testParams = [ "sync,,src,./dojo,src,./i18n-test,legacy", "sync,,src,./doj...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-550b9b77dc4d0c01e1fe", "dataset_id": "morefixes", "dataset_item_id": "morefixes-550b9b77dc4d0c01e1fe", "project_id": "morefixes__dojo__dojo", "language": "javascript", "backend": "codeql" }, "changed_javascript_file...
null
codeql
CVE-2024-22411
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-58be9c1811ee7367cce5
CodeQL javascript
javascript
morefixes__avo-hq__avo
morefixes-58be9c1811ee7367cce5
codeql_javascript_benchmark_top30_v1/tasks/morefixes-58be9c1811ee7367cce5
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/app/javascript/js/controllers/fields/key_value_controller.js b/app/javascript/js/controllers/fields/key_value_controller.js index e048f22bf..35619ce46 100644 --- a/app/javascript/js/controllers/fields/key_value_controller.js +++ b/app/javascript/js/controllers/fields/key_value_controller.js @@ -1,4 +1,5 @@...
# Patch-overlapping JavaScript context before the fix ## `app/javascript/js/controllers/fields/key_value_controller.js` (changed lines (2, 83, 84)) ```javascript /* eslint-disable max-len */ import { Controller } from '@hotwired/stimulus' import { castBoolean } from '../../helpers/cast_boolean' export default class ...
# Patch-overlapping JavaScript context after the fix ## `app/javascript/js/controllers/fields/key_value_controller.js` (changed lines (2, 84)) ```javascript /* eslint-disable max-len */ import * as DOMPurify from 'dompurify' import { Controller } from '@hotwired/stimulus' import { castBoolean } from '../../helpers/ca...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-58be9c1811ee7367cce5", "dataset_id": "morefixes", "dataset_item_id": "morefixes-58be9c1811ee7367cce5", "project_id": "morefixes__avo-hq__avo", "language": "javascript", "backend": "codeql" }, "changed_javascript_fil...
null
codeql
CVE-2020-11611
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-60205e347d7f83ebc999
CodeQL javascript
javascript
morefixes__ofirdagan__cross-domain-local-storage
morefixes-60205e347d7f83ebc999
codeql_javascript_benchmark_top30_v1/tasks/morefixes-60205e347d7f83ebc999
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/app/scripts/xdLocalStorage.js b/app/scripts/xdLocalStorage.js index b4646e8..ffe2b9b 100644 --- a/app/scripts/xdLocalStorage.js +++ b/app/scripts/xdLocalStorage.js @@ -63,7 +63,7 @@ window.xdLocalStorage = window.xdLocalStorage || (function () { window.attachEvent('onmessage', receiveMessage); ...
# Patch-overlapping JavaScript context before the fix ## `app/scripts/xdLocalStorage.js` (changed lines (66, 67)) ```javascript /** * Created by dagan on 07/04/2014. */ 'use strict'; /* global console, XdUtils */ window.xdLocalStorage = window.xdLocalStorage || (function () { var MESSAGE_NAMESPACE = 'cross-domain...
# Patch-overlapping JavaScript context after the fix ## `app/scripts/xdLocalStorage.js` (changed lines (66,)) ```javascript /** * Created by dagan on 07/04/2014. */ 'use strict'; /* global console, XdUtils */ window.xdLocalStorage = window.xdLocalStorage || (function () { var MESSAGE_NAMESPACE = 'cross-domain-loc...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-60205e347d7f83ebc999", "dataset_id": "morefixes", "dataset_item_id": "morefixes-60205e347d7f83ebc999", "project_id": "morefixes__ofirdagan__cross-domain-local-storage", "language": "javascript", "backend": "codeql" },...
null
codeql
CVE-2017-1000189
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-633246d79fea5271cdce
CodeQL javascript
javascript
morefixes__mde__ejs
morefixes-633246d79fea5271cdce
codeql_javascript_benchmark_top30_v1/tasks/morefixes-633246d79fea5271cdce
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/lib/ejs.js b/lib/ejs.js index 98e5991c..04b9bcb6 100644 --- a/lib/ejs.js +++ b/lib/ejs.js @@ -56,6 +56,12 @@ var _REGEX_STRING = '(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)'; var _OPTS = [ 'cache', 'filename', 'delimiter', 'scope', 'context', 'debug', 'compileDebug', 'client', '_with', 'root', 'rmWh...
# Patch-overlapping JavaScript context before the fix ## `lib/ejs.js` (changed lines (59, 271, 272, 273, 274, 275, 276)) ```javascript /* * EJS Embedded JavaScript templates * Copyright 2112 Matthew Eernisse (mde@fleegix.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use t...
# Patch-overlapping JavaScript context after the fix ## `lib/ejs.js` (changed lines (59, 60, 61, 62, 63, 64, 277, 278, 279)) ```javascript /* * EJS Embedded JavaScript templates * Copyright 2112 Matthew Eernisse (mde@fleegix.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-633246d79fea5271cdce", "dataset_id": "morefixes", "dataset_item_id": "morefixes-633246d79fea5271cdce", "project_id": "morefixes__mde__ejs", "language": "javascript", "backend": "codeql" }, "changed_javascript_files"...
null
codeql
CVE-2018-11798
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-88a92b26b3a23d01f412
CodeQL javascript
javascript
morefixes__apache__thrift
morefixes-88a92b26b3a23d01f412
codeql_javascript_benchmark_top30_v1/tasks/morefixes-88a92b26b3a23d01f412
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/lib/js/test/server_http.js b/lib/js/test/server_http.js index d04f578ae..8380c3a77 100644 --- a/lib/js/test/server_http.js +++ b/lib/js/test/server_http.js @@ -42,7 +42,7 @@ const ThriftTestSvcOpt = { }; const ThriftWebServerOptions = { - files: '.', + files: __dirname, services: { '/service': Thr...
# Patch-overlapping JavaScript context before the fix ## `lib/js/test/server_http.js` (changed lines (45, 46)) ```javascript /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regar...
# Patch-overlapping JavaScript context after the fix ## `lib/js/test/server_http.js` (changed lines (45,)) ```javascript /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-88a92b26b3a23d01f412", "dataset_id": "morefixes", "dataset_item_id": "morefixes-88a92b26b3a23d01f412", "project_id": "morefixes__apache__thrift", "language": "javascript", "backend": "codeql" }, "changed_javascript_...
null
codeql
CVE-2024-28176
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-941abf85c9b7d820de47
CodeQL javascript
javascript
morefixes__panva__jose
morefixes-941abf85c9b7d820de47
codeql_javascript_benchmark_top30_v1/tasks/morefixes-941abf85c9b7d820de47
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/lib/jwe/decrypt.js b/lib/jwe/decrypt.js index 9da8aead..358d084b 100644 --- a/lib/jwe/decrypt.js +++ b/lib/jwe/decrypt.js @@ -52,7 +52,7 @@ const validateAlgorithms = (algorithms, option) => { /* * @public */ -const jweDecrypt = (skipValidateHeaders, serialization, jwe, key, { crit = [], complete = fa...
# Patch-overlapping JavaScript context before the fix ## `lib/jwe/decrypt.js` (changed lines (55, 56, 192, 193)) ```javascript const { inflateRawSync } = require('zlib') const base64url = require('../help/base64url') const getKey = require('../help/get_key') const { KeyStore } = require('../jwks') const errors = req...
# Patch-overlapping JavaScript context after the fix ## `lib/jwe/decrypt.js` (changed lines (55, 192)) ```javascript const { inflateRawSync } = require('zlib') const base64url = require('../help/base64url') const getKey = require('../help/get_key') const { KeyStore } = require('../jwks') const errors = require('../e...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-941abf85c9b7d820de47", "dataset_id": "morefixes", "dataset_item_id": "morefixes-941abf85c9b7d820de47", "project_id": "morefixes__panva__jose", "language": "javascript", "backend": "codeql" }, "changed_javascript_fil...
null
codeql
CVE-2026-39941
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-99aea6539029d3ab985e
CodeQL javascript
javascript
morefixes__churchcrm__crm
morefixes-99aea6539029d3ab985e
codeql_javascript_benchmark_top30_v1/tasks/morefixes-99aea6539029d3ab985e
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/locale/scripts/locale-branch-manager.js b/locale/scripts/locale-branch-manager.js index 5b06e4f9b..949364209 100644 --- a/locale/scripts/locale-branch-manager.js +++ b/locale/scripts/locale-branch-manager.js @@ -16,14 +16,14 @@ * node locale/scripts/locale-branch-manager.js --get-version */ -const ...
# Patch-overlapping JavaScript context before the fix ## `locale/scripts/locale-branch-manager.js` (changed lines (19, 20, 24, 25, 26, 27, 66, 67, 109, 110, 134, 135, 137, 138, 139, 144, 145, 146, 157, 158, 159, 161, 162, 176, 177)) ```javascript #!/usr/bin/env node /** * Locale Translation Branch Manager * * Man...
# Patch-overlapping JavaScript context after the fix ## `locale/scripts/locale-branch-manager.js` (changed lines (19, 24, 26, 66, 109, 134, 137, 138, 144, 145, 157, 158, 161, 176)) ```javascript #!/usr/bin/env node /** * Locale Translation Branch Manager * * Manages git branch creation, detection, and resumption ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-99aea6539029d3ab985e", "dataset_id": "morefixes", "dataset_item_id": "morefixes-99aea6539029d3ab985e", "project_id": "morefixes__churchcrm__crm", "language": "javascript", "backend": "codeql" }, "changed_javascript_...
null
codeql
CVE-2024-45312
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-9f8a2d1b597df98c6680
CodeQL javascript
javascript
morefixes__overleaf__overleaf
morefixes-9f8a2d1b597df98c6680
codeql_javascript_benchmark_top30_v1/tasks/morefixes-9f8a2d1b597df98c6680
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/services/web/app/src/Features/Spelling/SpellingController.js b/services/web/app/src/Features/Spelling/SpellingController.js index 59008378cd..cdf28f36d9 100644 --- a/services/web/app/src/Features/Spelling/SpellingController.js +++ b/services/web/app/src/Features/Spelling/SpellingController.js @@ -28,40 +28...
# Patch-overlapping JavaScript context before the fix ## `services/web/app/src/Features/Spelling/SpellingController.js` (changed lines (31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 54, 55, 57, 58, 59, 64, 65)) ```javascript const request = require('request') const Settings = require...
# Patch-overlapping JavaScript context after the fix ## `services/web/app/src/Features/Spelling/SpellingController.js` (changed lines (31, 34, 35, 36, 37, 39, 40, 41, 42, 43, 47, 50, 51, 57)) ```javascript const request = require('request') const Settings = require('@overleaf/settings') const logger = require('@overl...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-9f8a2d1b597df98c6680", "dataset_id": "morefixes", "dataset_item_id": "morefixes-9f8a2d1b597df98c6680", "project_id": "morefixes__overleaf__overleaf", "language": "javascript", "backend": "codeql" }, "changed_javascr...
null
codeql
CVE-2025-11222
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-b475f3a535ea41bec3ff
CodeQL javascript
javascript
morefixes__line__centraldogma
morefixes-b475f3a535ea41bec3ff
codeql_javascript_benchmark_top30_v1/tasks/morefixes-b475f3a535ea41bec3ff
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/webapp/src/dogma/features/api/apiSlice.ts b/webapp/src/dogma/features/api/apiSlice.ts index 7e48850..2632df1 100644 --- a/webapp/src/dogma/features/api/apiSlice.ts +++ b/webapp/src/dogma/features/api/apiSlice.ts @@ -126,7 +126,7 @@ const baseQueryWithReauth: BaseQueryFn<string | FetchArgs, unknown, FetchBa...
# Patch-overlapping JavaScript context before the fix ## `webapp/src/dogma/features/api/apiSlice.ts` (changed lines (129, 130)) ```javascript /* * Copyright 2022 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file excep...
# Patch-overlapping JavaScript context after the fix ## `webapp/src/dogma/features/api/apiSlice.ts` (changed lines (129,)) ```javascript /* * Copyright 2022 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-b475f3a535ea41bec3ff", "dataset_id": "morefixes", "dataset_item_id": "morefixes-b475f3a535ea41bec3ff", "project_id": "morefixes__line__centraldogma", "language": "javascript", "backend": "codeql" }, "changed_javascr...
null
codeql
CVE-2026-10269
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-b61b3848e076036c7b06
CodeQL javascript
javascript
morefixes__decolua__9router
morefixes-b61b3848e076036c7b06
codeql_javascript_benchmark_top30_v1/tasks/morefixes-b61b3848e076036c7b06
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/src/dashboardGuard.js b/src/dashboardGuard.js index 6d4f5277..12c1d305 100644 --- a/src/dashboardGuard.js +++ b/src/dashboardGuard.js @@ -1,11 +1,27 @@ import { NextResponse } from "next/server"; import { jwtVerify } from "jose"; import { getSettings } from "@/lib/localDb"; +import { getConsistentMachin...
# Patch-overlapping JavaScript context before the fix ## `src/dashboardGuard.js` (changed lines (4, 9, 23, 24, 25, 26, 27, 28, 58, 60, 61, 62, 63, 67, 68, 70, 71)) ```javascript import { NextResponse } from "next/server"; import { jwtVerify } from "jose"; import { getSettings } from "@/lib/localDb"; const SECRET = n...
# Patch-overlapping JavaScript context after the fix ## `src/dashboardGuard.js` (changed lines (4, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 39, 68, 69, 71, 76, 79)) ```javascript import { NextResponse } from "next/server"; import { jwtVerify } from "jose"; import { getSettings } from "@/lib/localDb...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-b61b3848e076036c7b06", "dataset_id": "morefixes", "dataset_item_id": "morefixes-b61b3848e076036c7b06", "project_id": "morefixes__decolua__9router", "language": "javascript", "backend": "codeql" }, "changed_javascrip...
null
codeql
CVE-2022-39267
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-bd56f8e5b73f132cd962
CodeQL javascript
javascript
morefixes__brokercap__bifrost
morefixes-bd56f8e5b73f132cd962
codeql_javascript_benchmark_top30_v1/tasks/morefixes-bd56f8e5b73f132cd962
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/admin/view/public/js/ajax.js b/admin/view/public/js/ajax.js index cf89c29..96e8ad3 100644 --- a/admin/view/public/js/ajax.js +++ b/admin/view/public/js/ajax.js @@ -20,8 +20,8 @@ function Ajax(method,url,data,callbackFun,sync) { contentType: "application/json", success:function(callbackDat...
# Patch-overlapping JavaScript context before the fix ## `admin/view/public/js/ajax.js` (changed lines (23, 24, 25, 49, 50, 51)) ```javascript function Ajax(method,url,data,callbackFun,sync) { var async; if ( sync == undefined || sync == null || sync != false){ async = true; }else{ async =...
# Patch-overlapping JavaScript context after the fix ## `admin/view/public/js/ajax.js` (changed lines (23, 24, 49, 50)) ```javascript function Ajax(method,url,data,callbackFun,sync) { var async; if ( sync == undefined || sync == null || sync != false){ async = true; }else{ async = false; ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-bd56f8e5b73f132cd962", "dataset_id": "morefixes", "dataset_item_id": "morefixes-bd56f8e5b73f132cd962", "project_id": "morefixes__brokercap__bifrost", "language": "javascript", "backend": "codeql" }, "changed_javascr...
null
codeql
CVE-2020-7729
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-bd86b40955cabdb21c65
CodeQL javascript
javascript
morefixes__gruntjs__grunt
morefixes-bd86b40955cabdb21c65
codeql_javascript_benchmark_top30_v1/tasks/morefixes-bd86b40955cabdb21c65
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/lib/grunt/file.js b/lib/grunt/file.js index eefeddb..7e0e2fb 100644 --- a/lib/grunt/file.js +++ b/lib/grunt/file.js @@ -241,12 +241,21 @@ file.readJSON = function(filepath, options) { }; // Read a YAML file, parse its contents, return an object. -file.readYAML = function(filepath, options) { +file.read...
# Patch-overlapping JavaScript context before the fix ## `lib/grunt/file.js` (changed lines (244, 245, 249, 250)) ```javascript 'use strict'; var grunt = require('../grunt'); // Nodejs libs. var fs = require('fs'); var path = require('path'); // The module to be exported. var file = module.exports = {}; // Extern...
# Patch-overlapping JavaScript context after the fix ## `lib/grunt/file.js` (changed lines (244, 245, 246, 247, 252, 253, 254, 255, 256, 257, 258)) ```javascript 'use strict'; var grunt = require('../grunt'); // Nodejs libs. var fs = require('fs'); var path = require('path'); // The module to be exported. var file...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-bd86b40955cabdb21c65", "dataset_id": "morefixes", "dataset_item_id": "morefixes-bd86b40955cabdb21c65", "project_id": "morefixes__gruntjs__grunt", "language": "javascript", "backend": "codeql" }, "changed_javascript_...
null
codeql
CVE-2023-37259
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-f1044573e0d15a82a1d0
CodeQL javascript
javascript
morefixes__matrix-org__matrix-react-sdk
morefixes-f1044573e0d15a82a1d0
codeql_javascript_benchmark_top30_v1/tasks/morefixes-f1044573e0d15a82a1d0
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/src/utils/exportUtils/HtmlExport.tsx b/src/utils/exportUtils/HtmlExport.tsx index 667978b7b0..41edfd93df 100644 --- a/src/utils/exportUtils/HtmlExport.tsx +++ b/src/utils/exportUtils/HtmlExport.tsx @@ -21,6 +21,7 @@ import { MatrixEvent } from "matrix-js-sdk/src/models/event"; import { renderToStaticMarku...
# Patch-overlapping JavaScript context before the fix ## `src/utils/exportUtils/HtmlExport.tsx` (changed lines (24, 100, 101, 102, 104, 105, 112, 113, 114, 115, 117, 118, 119, 121, 122, 130, 131, 186, 187, 188, 189, 191, 192, 217, 218, 219, 220, 221)) ```javascript /* Copyright 2021 - 2023 The Matrix.org Foundation C...
# Patch-overlapping JavaScript context after the fix ## `src/utils/exportUtils/HtmlExport.tsx` (changed lines (24, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 118, 120, 121, 122, 123, 124, 127, 130, 139, 195, 197, 200, 226, 227, 229)) ```javascript /* Copyright 2021 - 2023 The Matrix.org Foundation C.I.C. Lice...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-f1044573e0d15a82a1d0", "dataset_id": "morefixes", "dataset_item_id": "morefixes-f1044573e0d15a82a1d0", "project_id": "morefixes__matrix-org__matrix-react-sdk", "language": "javascript", "backend": "codeql" }, "chang...
null
codeql
CVE-2021-21679
codeql_javascript_benchmark_top30_v1
codeql_javascript_benchmark_top30_v1/morefixes-f37103ca8d19c93116f8
CodeQL javascript
javascript
morefixes__jenkinsci__azure-ad-plugin
morefixes-f37103ca8d19c93116f8
codeql_javascript_benchmark_top30_v1/tasks/morefixes-f37103ca8d19c93116f8
# JavaScript CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after JavaScript context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this...
diff --git a/src/main/frontend/index.ts b/src/main/frontend/index.ts index 8637f25..7230239 100644 --- a/src/main/frontend/index.ts +++ b/src/main/frontend/index.ts @@ -10,5 +10,9 @@ document.addEventListener('DOMContentLoaded', (_) => { .replace('configureSecurity/', '') .replace('configure', ''); ...
# Patch-overlapping JavaScript context before the fix ## `src/main/frontend/index.ts` (changed lines (13, 14)) ```javascript import { Providers } from '@microsoft/mgt-element/dist/es6'; import { ProxyProvider } from '@microsoft/mgt-proxy-provider/dist/es6/ProxyProvider'; import '@microsoft/mgt-components'; document....
# Patch-overlapping JavaScript context after the fix ## `src/main/frontend/index.ts` (changed lines (13, 14, 15, 16, 17)) ```javascript import { Providers } from '@microsoft/mgt-element/dist/es6'; import { ProxyProvider } from '@microsoft/mgt-proxy-provider/dist/es6/ProxyProvider'; import '@microsoft/mgt-components';...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "morefixes-f37103ca8d19c93116f8", "dataset_id": "morefixes", "dataset_item_id": "morefixes-f37103ca8d19c93116f8", "project_id": "morefixes__jenkinsci__azure-ad-plugin", "language": "javascript", "backend": "codeql" }, "changed...
null
codeql
CVE-2021-21371
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-03252773bde39ba37465
CodeQL python
python
pyvul__tenable__integration-jira-cloud
pyvul-03252773bde39ba37465
codeql_python_benchmark51_v2/tasks/pyvul-03252773bde39ba37465
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/tenable_jira/cli.py b/tenable_jira/cli.py index 17bb76b..1f16571 100644 --- a/tenable_jira/cli.py +++ b/tenable_jira/cli.py @@ -62,7 +62,7 @@ def cli(configfile, observed_since, setup_only=False, troubleshoot=False): ''' # Load the config, but ensure that any additional fields are additive to the...
# Patch-overlapping Python context before the fix ## `tenable_jira/cli.py` — `function:cli` (lines 51-231) ```python def cli(configfile, observed_since, setup_only=False, troubleshoot=False): ''' Tenable.io -> Jira Cloud Transformer & Ingester ''' # Load the config, but ensure that any additional fiel...
# Patch-overlapping Python context after the fix ## `tenable_jira/cli.py` — `function:cli` (lines 51-231) ```python def cli(configfile, observed_since, setup_only=False, troubleshoot=False): ''' Tenable.io -> Jira Cloud Transformer & Ingester ''' # Load the config, but ensure that any additional field...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-03252773bde39ba37465", "dataset_id": "PyVul", "dataset_item_id": "pyvul-03252773bde39ba37465", "project_id": "pyvul__tenable__integration-jira-cloud", "language": "python", "backend": "codeql" }, "changed_python_files":...
null
codeql
CVE-2023-6977
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-07332271886167133edf
CodeQL python
python
pyvul__mlflow__mlflow
pyvul-07332271886167133edf
codeql_python_benchmark51_v2/tasks/pyvul-07332271886167133edf
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/mlflow/utils/uri.py b/mlflow/utils/uri.py index eb59148cc..331648b8e 100644 --- a/mlflow/utils/uri.py +++ b/mlflow/utils/uri.py @@ -41,6 +41,10 @@ def is_local_uri(uri, is_tracking_or_registry_uri=True): return False parsed_uri = urllib.parse.urlparse(uri) + scheme = parsed_uri.scheme + ...
# Patch-overlapping Python context before the fix ## `mlflow/utils/uri.py` — `function:is_local_uri` (lines 27-58) ```python def is_local_uri(uri, is_tracking_or_registry_uri=True): """ Returns true if the specified URI is a local file path (/foo or file:/foo). :param uri: The URI. :param is_tracking...
# Patch-overlapping Python context after the fix ## `mlflow/utils/uri.py` — `function:is_local_uri` (lines 27-61) ```python def is_local_uri(uri, is_tracking_or_registry_uri=True): """ Returns true if the specified URI is a local file path (/foo or file:/foo). :param uri: The URI. :param is_tracking_...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-07332271886167133edf", "dataset_id": "PyVul", "dataset_item_id": "pyvul-07332271886167133edf", "project_id": "pyvul__mlflow__mlflow", "language": "python", "backend": "codeql" }, "changed_python_files": [ "mlflow/ut...
null
codeql
CVE-2020-12889
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-0e38a9079f90a5ac566e
CodeQL python
python
pyvul__misp__misp-maltego
pyvul-0e38a9079f90a5ac566e
codeql_python_benchmark51_v2/tasks/pyvul-0e38a9079f90a5ac566e
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/src/MISP_maltego/transforms/attributetoevent.py b/src/MISP_maltego/transforms/attributetoevent.py index 14b3cbc..fc525ca 100644 --- a/src/MISP_maltego/transforms/attributetoevent.py +++ b/src/MISP_maltego/transforms/attributetoevent.py @@ -1,7 +1,7 @@ from canari.maltego.entities import Unknown, Hashtag ...
# Patch-overlapping Python context before the fix ## `src/MISP_maltego/transforms/attributetoevent.py` — `class:SearchInMISP` (lines 18-98) ```python class SearchInMISP(Transform): """Search an attribute, event in MISP, allowing the use of % at the front and end""" input_type = Unknown display_name = 'Sea...
# Patch-overlapping Python context after the fix ## `src/MISP_maltego/transforms/attributetoevent.py` — `class:SearchInMISP` (lines 18-98) ```python class SearchInMISP(Transform): """Search an attribute, event in MISP, allowing the use of % at the front and end""" input_type = Unknown display_name = 'Sear...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-0e38a9079f90a5ac566e", "dataset_id": "PyVul", "dataset_item_id": "pyvul-0e38a9079f90a5ac566e", "project_id": "pyvul__misp__misp-maltego", "language": "python", "backend": "codeql" }, "changed_python_files": [ "src/M...
null
codeql
CVE-2023-30629
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-10fb77265dc23f305315
CodeQL python
python
pyvul__vyperlang__vyper
pyvul-10fb77265dc23f305315
codeql_python_benchmark51_v2/tasks/pyvul-10fb77265dc23f305315
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/tests/parser/functions/test_raw_call.py b/tests/parser/functions/test_raw_call.py index 4fbff331..95db070f 100644 --- a/tests/parser/functions/test_raw_call.py +++ b/tests/parser/functions/test_raw_call.py @@ -296,8 +296,10 @@ baz: int128 def fail1(should_raise: bool): if should_raise: raise...
# Patch-overlapping Python context before the fix ## `tests/parser/functions/test_raw_call.py` — `function:test_checkable_raw_call` (lines 292-345) ```python def test_checkable_raw_call(get_contract, assert_tx_failed): target_source = """ baz: int128 @external def fail1(should_raise: bool): if should_raise: ...
# Patch-overlapping Python context after the fix ## `tests/parser/functions/test_raw_call.py` — `function:test_checkable_raw_call` (lines 292-363) ```python def test_checkable_raw_call(get_contract, assert_tx_failed): target_source = """ baz: int128 @external def fail1(should_raise: bool): if should_raise: ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-10fb77265dc23f305315", "dataset_id": "PyVul", "dataset_item_id": "pyvul-10fb77265dc23f305315", "project_id": "pyvul__vyperlang__vyper", "language": "python", "backend": "codeql" }, "changed_python_files": [ "tests/p...
null
codeql
CVE-2019-3830
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-135c7fcada946877931a
CodeQL python
python
pyvul__openstack__ceilometer
pyvul-135c7fcada946877931a
codeql_python_benchmark51_v2/tasks/pyvul-135c7fcada946877931a
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/ceilometer/agent.py b/ceilometer/agent.py index 72394e506..32423ed3c 100644 --- a/ceilometer/agent.py +++ b/ceilometer/agent.py @@ -61,7 +61,7 @@ class ConfigManagerBase(object): __name__, 'pipeline/data/' + cfg_file) with open(cfg_loc) as fap: conf = yaml.safe_lo...
# Patch-overlapping Python context before the fix ## `ceilometer/agent.py` — `class:ConfigManagerBase` (lines 45-65) ```python class ConfigManagerBase(object): """Base class for managing configuration file refresh""" def __init__(self, conf): self.conf = conf def load_config(self, cfg_file): ...
# Patch-overlapping Python context after the fix ## `ceilometer/agent.py` — `class:ConfigManagerBase` (lines 45-65) ```python class ConfigManagerBase(object): """Base class for managing configuration file refresh""" def __init__(self, conf): self.conf = conf def load_config(self, cfg_file): ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-135c7fcada946877931a", "dataset_id": "PyVul", "dataset_item_id": "pyvul-135c7fcada946877931a", "project_id": "pyvul__openstack__ceilometer", "language": "python", "backend": "codeql" }, "changed_python_files": [ "ce...
null
codeql
CVE-2020-10799
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-15c0ad3037992bda1b19
CodeQL python
python
pyvul__deeplook__svglib
pyvul-15c0ad3037992bda1b19
codeql_python_benchmark51_v2/tasks/pyvul-15c0ad3037992bda1b19
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7d3cf09..886ab24 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,7 @@ Unreleased - fixed references to <defs> content when placed middle or end of SVG documents (#225) - fixed elliptic arcs reading when arc flags are condensed (#232) +- disabled external...
# Patch-overlapping Python context before the fix ## `svglib/svglib.py` — `function:svg2rlg` (lines 1406-1429) ```python def svg2rlg(path, **kwargs): "Convert an SVG file to an RLG Drawing object." # unzip .svgz file into .svg unzipped = False if isinstance(path, str) and os.path.splitext(path)[1].lo...
# Patch-overlapping Python context after the fix ## `svglib/svglib.py` — `function:svg2rlg` (lines 1406-1429) ```python def svg2rlg(path, resolve_entities=False, **kwargs): "Convert an SVG file to an RLG Drawing object." # unzip .svgz file into .svg unzipped = False if isinstance(path, str) and os.pa...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-15c0ad3037992bda1b19", "dataset_id": "PyVul", "dataset_item_id": "pyvul-15c0ad3037992bda1b19", "project_id": "pyvul__deeplook__svglib", "language": "python", "backend": "codeql" }, "changed_python_files": [ "svglib/...
null
codeql
CVE-2022-0736
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-1a630dd8f83b2e29740d
CodeQL python
python
pyvul__mlflow__mlflow
pyvul-1a630dd8f83b2e29740d
codeql_python_benchmark51_v2/tasks/pyvul-1a630dd8f83b2e29740d
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/mlflow/utils/file_utils.py b/mlflow/utils/file_utils.py index 32653b343..4b59a3673 100644 --- a/mlflow/utils/file_utils.py +++ b/mlflow/utils/file_utils.py @@ -287,7 +287,7 @@ def make_tarfile(output_filename, source_dir, archive_name, custom_filter=None): tar_info.mtime = 0 return tar_in...
# Patch-overlapping Python context before the fix ## `mlflow/utils/file_utils.py` — `function:make_tarfile` (lines 284-301) ```python def make_tarfile(output_filename, source_dir, archive_name, custom_filter=None): # Helper for filtering out modification timestamps def _filter_timestamps(tar_info): ta...
# Patch-overlapping Python context after the fix ## `mlflow/utils/file_utils.py` — `function:make_tarfile` (lines 284-301) ```python def make_tarfile(output_filename, source_dir, archive_name, custom_filter=None): # Helper for filtering out modification timestamps def _filter_timestamps(tar_info): tar...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-1a630dd8f83b2e29740d", "dataset_id": "PyVul", "dataset_item_id": "pyvul-1a630dd8f83b2e29740d", "project_id": "pyvul__mlflow__mlflow", "language": "python", "backend": "codeql" }, "changed_python_files": [ "mlflow/ut...
null
codeql
CVE-2022-42965
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-1f5068a3fe5ca0192a07
CodeQL python
python
pyvul__snowflakedb__snowflake-connector-python
pyvul-1f5068a3fe5ca0192a07
codeql_python_benchmark51_v2/tasks/pyvul-1f5068a3fe5ca0192a07
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/DESCRIPTION.md b/DESCRIPTION.md index 5e6684a2..0f626e3a 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -11,6 +11,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne - v2.8.2(November 18,2022) - Improved performance of OCSP response caching + - Improved perform...
# Patch-overlapping Python context before the fix ## `src/snowflake/connector/cursor.py` — `class:SnowflakeCursor` (lines 158-1308) ```python class SnowflakeCursor: """Implementation of Cursor object that is returned from Connection.cursor() method. Attributes: description: A list of namedtuples abou...
# Patch-overlapping Python context after the fix ## `src/snowflake/connector/_sql_util.py` — `function:remove_starting_comments` (lines 23-31) ```python def remove_starting_comments(sql: str) -> str: """Remove all comments from the start of a SQL statement.""" commentless_sql = sql while True: sta...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-1f5068a3fe5ca0192a07", "dataset_id": "PyVul", "dataset_item_id": "pyvul-1f5068a3fe5ca0192a07", "project_id": "pyvul__snowflakedb__snowflake-connector-python", "language": "python", "backend": "codeql" }, "changed_python...
null
codeql
CVE-2021-46898
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-2ab65d62986b80922362
CodeQL python
python
pyvul__sehmaschine__django-grappelli
pyvul-2ab65d62986b80922362
codeql_python_benchmark51_v2/tasks/pyvul-2ab65d62986b80922362
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/grappelli/views/switch.py b/grappelli/views/switch.py index 8e390b13..db2ee680 100644 --- a/grappelli/views/switch.py +++ b/grappelli/views/switch.py @@ -8,6 +8,7 @@ from django.core.exceptions import ObjectDoesNotExist from django.http import Http404 from django.shortcuts import redirect from django.ut...
# Patch-overlapping Python context before the fix ## `grappelli/views/switch.py` — `function:switch_user` (lines 22-69) ```python def switch_user(request, object_id): # current/session user current_user = request.user session_user = request.session.get("original_user", {"id": current_user.id, "username":...
# Patch-overlapping Python context after the fix ## `grappelli/views/switch.py` — `function:switch_user` (lines 23-75) ```python def switch_user(request, object_id): # current/session user current_user = request.user session_user = request.session.get("original_user", {"id": current_user.id, "username": ...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-2ab65d62986b80922362", "dataset_id": "PyVul", "dataset_item_id": "pyvul-2ab65d62986b80922362", "project_id": "pyvul__sehmaschine__django-grappelli", "language": "python", "backend": "codeql" }, "changed_python_files": [...
null
codeql
CVE-2023-48224
codeql_python_benchmark51_v2
codeql_python_benchmark51_v2/pyvul-3062589ff0b3b95c2ed7
CodeQL python
python
pyvul__ethyca__fides
pyvul-3062589ff0b3b95c2ed7
codeql_python_benchmark51_v2/tasks/pyvul-3062589ff0b3b95c2ed7
# Python CodeQL detector synthesis You are cc operating in `/work`. Starting only from the supplied patch, before/after Python context, CodeQL references, and validation tools, synthesize a semantic CodeQL detector for the vulnerability fixed by the patch. This is one fresh session. You may iterate inside this session...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ba9187c0a3..6149f587ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,9 @@ The types of changes are: - User preferences from cookie should always override experience preferences [#4405](https://github.com/ethyca/fides/pull/4405) - Allow fides_consent cookie to...
# Patch-overlapping Python context before the fix ## `src/fides/api/service/privacy_request/request_runner_service.py` — `function:generate_id_verification_code` (lines 626-630) ```python def generate_id_verification_code() -> str: """ Generate one-time identity verification code """ return str(random...
# Patch-overlapping Python context after the fix ## `src/fides/api/service/privacy_request/request_runner_service.py` — `function:generate_id_verification_code` (lines 626-630) ```python def generate_id_verification_code() -> str: """ Generate one-time identity verification code """ return str(secrets...
{ "schema_version": "synthesis-task-v1", "task": { "pair_id": "pyvul-3062589ff0b3b95c2ed7", "dataset_id": "PyVul", "dataset_item_id": "pyvul-3062589ff0b3b95c2ed7", "project_id": "pyvul__ethyca__fides", "language": "python", "backend": "codeql" }, "changed_python_files": [ "src/fides/...
null