prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "// Visibility is the type of a visibility.\ntype Visibility string", "const (\n\t// Public is the PUBLIC visibility.\n\tPublic Visibility = \"PUBLIC\"\n\t// Protected is the PROTECTED visibility.\n\tProtected Visibility = \"PROTECTED\"\n\t// Private is the PRIVATE visibility.\n\tPrivate Visibili...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "// Visibility is the type of a visibility.\ntype Visibility string", "const (\n\t// Public is the PUBLIC visibility.\n\tPublic Visibility = \"PUBLIC\"\n\t// Protected is the PROTECTED visibility.\n\tProtected Visibility = \"PROTECTED\"\n\t// Private is the PRIVATE visibility.\n\tPrivate Visibili...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type MemoOrganizer struct {\n\tID int", "\t// Domain specific fields\n\tMemoID int\n\tUserID int\n\tPinned bool\n}\n", "", "type MemoOrganizerFind struct {\n\tMemoID int\n\tUserID int", "}", "type MemoOrganizerUpsert struct {\n\tMemoID int\n\tUserID int\n\tPinned bool `json:\"pinned\"`",...
[ 1, 1, 1, 0, 1, 0, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type MemoOrganizer struct {\n\tID int", "\t// Domain specific fields\n\tMemoID int\n\tUserID int\n\tPinned bool\n}\n", "type MemoOrganizerUpsert struct {\n\tMemoID int `json:\"-\"`\n\tUserID int `json:\"-\"`\n\tPinned bool `json:\"pinned\"`\n}\n", "type MemoOrganizerFind struct {\n\tMemoID...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type MemoResource struct {\n\tMemoID int\n\tResourceID int\n\tCreatedTs int64\n\tUpdatedTs int64\n}", "type MemoResourceUpsert struct {", "\tMemoID int", "\tResourceID int\n\tUpdatedTs *int64\n}", "type MemoResourceFind struct {\n\tMemoID *int\n\tResourceID *int\n}", "type...
[ 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type MemoResource struct {\n\tMemoID int\n\tResourceID int\n\tCreatedTs int64\n\tUpdatedTs int64\n}", "type MemoResourceUpsert struct {", "\tMemoID int `json:\"-\"`", "\tResourceID int\n\tUpdatedTs *int64\n}", "type MemoResourceFind struct {\n\tMemoID *int\n\tResourceID *int...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type Resource struct {\n\tID int `json:\"id\"`", "\t// Standard fields\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`", "\t// Domain specific fields\n\tFilename string `json:\"filename\"`\n\tBlob []byte `json:\"-\"`\n...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type Resource struct {\n\tID int `json:\"id\"`", "\t// Standard fields\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`", "\t// Domain specific fields\n\tFilename string `json:\"filename\"`\n\tBlob []byte `json:\"-\"`\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type Shortcut struct {\n\tID int `json:\"id\"`", "\t// Standard fields\n\tRowStatus RowStatus `json:\"rowStatus\"`\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`", "\t// Domain specific fields\n\tTitle strin...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type Shortcut struct {\n\tID int `json:\"id\"`", "\t// Standard fields\n\tRowStatus RowStatus `json:\"rowStatus\"`\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`", "\t// Domain specific fields\n\tTitle strin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type Tag struct {\n\tName string\n\tCreatorID int\n}", "type TagUpsert struct {\n\tName string", "\tCreatorID int", "}", "type TagFind struct {\n\tCreatorID int\n}", "type TagDelete struct {\n\tName string\n\tCreatorID int\n}" ]
[ 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "type Tag struct {\n\tName string\n\tCreatorID int\n}", "type TagUpsert struct {\n\tName string", "\tCreatorID int `json:\"-\"`", "}", "type TagFind struct {\n\tCreatorID int\n}", "type TagDelete struct {\n\tName string\n\tCreatorID int\n}" ]
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"encoding/json\"\n\t\"fmt\"", "\t\"golang.org/x/exp/slices\"\n)", "type UserSettingKey string", "const (\n\t// UserSettingLocaleKey is the key type for user locale.\n\tUserSettingLocaleKey UserSettingKey = \"locale\"\n\t// UserSettingAppearanceKey is the key type for user appear...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"encoding/json\"\n\t\"fmt\"", "\t\"golang.org/x/exp/slices\"\n)", "type UserSettingKey string", "const (\n\t// UserSettingLocaleKey is the key type for user locale.\n\tUserSettingLocaleKey UserSettingKey = \"locale\"\n\t// UserSettingAppearanceKey is the key type for user appear...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\n)", "func (s *Server) regi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\n)", "func (s *Server) regi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"sort\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "f...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0...
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"sort\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "f...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n\t\"net/url\"\n\t\"strconv\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "con...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n\t\"net/url\"\n\t\"strconv\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "con...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "func (s *Server) registerSho...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "func (s *Server) registerSho...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"net/http\"\n\t\"os\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "func (s *Server) registerSystemRoutes(g *echo.Group) {\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"net/http\"\n\t\"os\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "func (s *Server) registerSystemRoutes(g *echo.Group) {\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"regexp\"\n\t\"sort\"\n\t\"strconv\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "func (s *Serve...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"regexp\"\n\t\"sort\"\n\t\"strconv\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n)", "func (s *Serve...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\n)...
[ 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "package server", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"", "\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"", "\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\n)...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go...
1,089
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n# MantisBT - A PHP based bugtracking system", "# MantisBT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 2 of the License, or\n# (at your option) any later version.\n#\n# Mantis...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [158], "buggy_code_start_loc": [157], "filenames": ["bug_change_status_page.php"], "fixing_code_end_loc": [158], "fixing_code_start_loc": [157], "message": "A cross-site scripting (XSS) vulnerability in bug_change_status_page.php in MantisBT before 1.3.7 and 2.x before 2.2.1 allows remote attacke...
1,090
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n# MantisBT - A PHP based bugtracking system", "# MantisBT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 2 of the License, or\n# (at your option) any later version.\n#\n# Mantis...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [158], "buggy_code_start_loc": [157], "filenames": ["bug_change_status_page.php"], "fixing_code_end_loc": [158], "fixing_code_start_loc": [157], "message": "A cross-site scripting (XSS) vulnerability in bug_change_status_page.php in MantisBT before 1.3.7 and 2.x before 2.2.1 allows remote attacke...
1,090
Determine whether the {function_name} code is vulnerable or not.
[ "METEOR@2.7.2" ]
[ 0 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "METEOR@2.7.3" ]
[ 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "accounts-base@2.2.3\naccounts-oauth@1.4.1\naccounts-password@2.3.1\nallow-deny@1.1.1\nautoupdate@1.8.0\nbabel-compiler@7.9.0\nbabel-runtime@1.5.1\nbase64@1.0.12\nbinary-heap@1.0.11\nblaze@2.5.0\nblaze-html-templates@1.2.1\nblaze-tools@1.1.3\nboilerplate-generator@1.7.1\ncaching-compiler@1.2.2\ncaching-html-compile...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "accounts-base@2.2.3\naccounts-oauth@1.4.1\naccounts-password@2.3.1\nallow-deny@1.1.1\nautoupdate@1.8.0\nbabel-compiler@7.9.0\nbabel-runtime@1.5.1\nbase64@1.0.12\nbinary-heap@1.0.11\nblaze@2.5.0\nblaze-html-templates@1.2.1\nblaze-tools@1.1.3\nboilerplate-generator@1.7.1\ncaching-compiler@1.2.2\ncaching-html-compile...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import './allprojectschart.html'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { getUserSetting, getUserTimeUnitVerbose } from '../../utils/frontend_helpers'", "Template.allprojectschart.onCreated(function allprojectschartCreated() {\n this.topTasks = new ReactiveVar()\n this.projectSta...
[ 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import './allprojectschart.html'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { getUserSetting, getUserTimeUnitVerbose } from '../../utils/frontend_helpers'", "Template.allprojectschart.onCreated(function allprojectschartCreated() {\n this.topTasks = new ReactiveVar()\n this.projectSta...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { saveAs } from 'file-saver'\nimport { NullXlsx } from '@neovici/nullxlsx'\nimport './dailytimetable.html'\nimport './pagination.js'\nimport './limitpicker.js'\nimport {\n getGlobalS...
[ 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { saveAs } from 'file-saver'\nimport { NullXlsx } from '@neovici/nullxlsx'\nimport './dailytimetable.html'\nimport './pagination.js'\nimport './limitpicker.js'\nimport {\n getGlobalS...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport { saveAs } from 'file-saver'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { NullXlsx } from '@neovici/nullxlsx'\nimport bootstrap from 'bootstrap'\nimport { i18nReady, t } from '../../utils/i18n.js'\nimport Timecards fro...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport { saveAs } from 'file-saver'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { NullXlsx } from '@neovici/nullxlsx'\nimport bootstrap from 'bootstrap'\nimport { i18nReady, t } from '../../utils/i18n.js'\nimport Timecards fro...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport { saveAs } from 'file-saver'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { NullXlsx } from '@neovici/nullxlsx'\nimport './periodtimetable.html'\nimport './pagination.js'\nimport './limitpicker.js'\nimport { i18nReady, t...
[ 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport { saveAs } from 'file-saver'\nimport { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport { NullXlsx } from '@neovici/nullxlsx'\nimport './periodtimetable.html'\nimport './pagination.js'\nimport './limitpicker.js'\nimport { i18nReady, t...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport './projectAccessRights.html'\nimport { t, i18nReady } from '../../utils/i18n.js'\nimport {", " validateEmail, getGlobalSetting, showToast,", "} from '../../utils/frontend_helpers'\nimport Projects from '../../api/projects/projects.js'", "T...
[ 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport './projectAccessRights.html'\nimport { t, i18nReady } from '../../utils/i18n.js'\nimport {", " validateEmail, getGlobalSetting, showToast, addToolTipToTableCell,", "} from '../../utils/frontend_helpers'\nimport Projects from '../../api/proje...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import namedavatar from 'namedavatar'\nimport { QuillDeltaToHtmlConverter } from 'quill-delta-to-html'\nimport './projectchart.html'\nimport Projects, { ProjectStats } from '../../api/projects/projects.js'\nimport projectUsers from '../../api/users/users.js'\nimport { getUserSetting, getUserTimeUnitVerbose } from ...
[ 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import namedavatar from 'namedavatar'\nimport { QuillDeltaToHtmlConverter } from 'quill-delta-to-html'\nimport './projectchart.html'\nimport Projects, { ProjectStats } from '../../api/projects/projects.js'\nimport projectUsers from '../../api/users/users.js'\nimport { getUserSetting, getUserTimeUnitVerbose } from ...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\nimport randomColor from 'randomcolor'\nimport { t } from '../../utils/i18n.js'\nimport {\n emojify,\n getUserSetting,\n get...
[ 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import { FlowRouter } from 'meteor/ostrio:flow-router-extra'\nimport dayjs from 'dayjs'\nimport utc from 'dayjs/plugin/utc'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\nimport randomColor from 'randomcolor'\nimport { t } from '../../utils/i18n.js'\nimport {\n emojify,\n getUserSetting,\n get...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import namedavatar from 'namedavatar'\nimport { i18nReady, t } from './i18n.js'\nimport { Globalsettings } from '../api/globalsettings/globalsettings.js'", "const clientTimecards = new Mongo.Collection('clientTimecards')", "function getGlobalSetting(name) {\n return Globalsettings.findOne({ name }) ? Globalse...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import namedavatar from 'namedavatar'\nimport { i18nReady, t } from './i18n.js'\nimport { Globalsettings } from '../api/globalsettings/globalsettings.js'", "const clientTimecards = new Mongo.Collection('clientTimecards')", "function getGlobalSetting(name) {\n return Globalsettings.findOne({ name }) ? Globalse...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\nimport { t } from './i18n.js'\nimport Projects from '../api/projects/projects.js'\nimport projectUsers from '../api/users/users.js'\nimport { periodToDates } from './periodHelpers.js'\nimport { getGlobalSetting, getUserSetti...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "import dayjs from 'dayjs'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\nimport { t } from './i18n.js'\nimport Projects from '../api/projects/projects.js'\nimport projectUsers from '../api/users/users.js'\nimport { periodToDates } from './periodHelpers.js'\nimport { getGlobalSetting, getUserSetti...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"titra\",\n \"version\": \"0.76.1\",\n \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@ampproject/remapping\": {\n \"version\": \"2.1.2\",\n \"resolved\": \"https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz\",\n \"integrity\": \"sh...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"titra\",\n \"version\": \"0.76.1\",\n \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@ampproject/remapping\": {\n \"version\": \"2.1.2\",\n \"resolved\": \"https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz\",\n \"integrity\": \"sh...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"titra\",", " \"version\": \"0.76.1\",", " \"private\": true,\n \"scripts\": {\n \"start\": \"meteor run\"\n },\n \"dependencies\": {\n \"@babel/runtime\": \"^7.18.3\",\n \"@fortawesome/fontawesome-free\": \"^6.1.1\",\n \"@fullcalendar/core\": \"^5.11.0\",\n \"@fullcalendar/...
[ 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"titra\",", " \"version\": \"0.77.0\",", " \"private\": true,\n \"scripts\": {\n \"start\": \"meteor run\"\n },\n \"dependencies\": {\n \"@babel/runtime\": \"^7.18.3\",\n \"@fortawesome/fontawesome-free\": \"^6.1.1\",\n \"@fullcalendar/core\": \"^5.11.0\",\n \"@fullcalendar/...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2, 93, 132, 73, 40, 66, 30, 204, 130, 22, 71, 2833, 50], "buggy_code_start_loc": [1, 92, 131, 13, 39, 13, 5, 203, 12, 21, 70, 796, 3], "filenames": [".meteor/release", ".meteor/versions", "imports/ui/components/allprojectschart.js", "imports/ui/components/dailytimetable.js", "imports/ui/componen...
1,091
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [219], "buggy_code_start_loc": [219], "filenames": ["tensorflow/core/kernels/linalg/banded_triangular_solve_op.cc"], "fixing_code_end_loc": [221], "fixing_code_start_loc": [220], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a heap buff...
1,092
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [219], "buggy_code_start_loc": [219], "filenames": ["tensorflow/core/kernels/linalg/banded_triangular_solve_op.cc"], "fixing_code_end_loc": [221], "fixing_code_start_loc": [220], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a heap buff...
1,092
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tGeneric socket support routines. Memory allocators, socket lock/release\n *\t\thandler for p...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1621], "buggy_code_start_loc": [1594], "filenames": ["net/core/sock.c"], "fixing_code_end_loc": [1623], "fixing_code_start_loc": [1595], "message": "The sock_alloc_send_pskb function in net/core/sock.c in the Linux kernel before 3.4.5 does not properly validate a certain length value, which allo...
1,093
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tGeneric socket support routines. Memory allocators, socket lock/release\n *\t\thandler for p...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1621], "buggy_code_start_loc": [1594], "filenames": ["net/core/sock.c"], "fixing_code_end_loc": [1623], "fixing_code_start_loc": [1595], "message": "The sock_alloc_send_pskb function in net/core/sock.c in the Linux kernel before 3.4.5 does not properly validate a certain length value, which allo...
1,093
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Magento\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Open Software License (OSL 3.0)\n * that is bundled with this package in the file LICENSE.txt.\n * It is also available through the world-wide-web at this URL:\n * http://opensource.org/licenses/osl-3.0.php\n * If you did n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [393], "buggy_code_start_loc": [392], "filenames": ["app/code/core/Mage/Adminhtml/Controller/Action.php"], "fixing_code_end_loc": [393], "fixing_code_start_loc": [392], "message": "OpenMage LTS before versions 19.4.6 and 20.0.2 allows attackers to circumvent the `fromkey protection` in the Admin ...
1,094
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Magento\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Open Software License (OSL 3.0)\n * that is bundled with this package in the file LICENSE.txt.\n * It is also available through the world-wide-web at this URL:\n * http://opensource.org/licenses/osl-3.0.php\n * If you did n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [393], "buggy_code_start_loc": [392], "filenames": ["app/code/core/Mage/Adminhtml/Controller/Action.php"], "fixing_code_end_loc": [393], "fixing_code_start_loc": [392], "message": "OpenMage LTS before versions 19.4.6 and 20.0.2 allows attackers to circumvent the `fromkey protection` in the Admin ...
1,094
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [788, 1689, 888, 390], "buggy_code_start_loc": [787, 1681, 887, 389], "filenames": ["includes/core/load.js.php", "pages/items.js.php", "pages/users.js.php", "sources/identify.php"], "fixing_code_end_loc": [788, 1706, 888, 394], "fixing_code_start_loc": [787, 1682, 887, 389], "message": "Cross-sit...
1,095
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2100], "buggy_code_start_loc": [2001], "filenames": ["coders/pdf.c"], "fixing_code_end_loc": [2107], "fixing_code_start_loc": [2001], "message": "ImageMagick 7.0.6-2 has a memory leak vulnerability in WritePDFImage in coders/pdf.c.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nul...
1,096
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2100], "buggy_code_start_loc": [2001], "filenames": ["coders/pdf.c"], "fixing_code_end_loc": [2107], "fixing_code_start_loc": [2001], "message": "ImageMagick 7.0.6-2 has a memory leak vulnerability in WritePDFImage in coders/pdf.c.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nul...
1,096
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Patient matching and selection dialog.\n *\n * @package OpenEMR\n * @link https://www.open-emr.org\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2013-2015 Rod Roark <rod@sunsetsystems.com>\n * @copyrigh...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Patient matching and selection dialog.\n *\n * @package OpenEMR\n * @link https://www.open-emr.org\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2013-2015 Rod Roark <rod@sunsetsystems.com>\n * @copyrigh...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Patient report\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2017-2018 Brady Miller <brady.g.miller@gmail.com>\n * @author Stephen Nielson <stephen@nielson.org>\n * @copyright Copyright (c)...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Patient report\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2017-2018 Brady Miller <brady.g.miller@gmail.com>\n * @author Stephen Nielson <stephen@nielson.org>\n * @copyright Copyright (c)...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Multi-Factor Authentication Management\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2018 Rod Roark <rod@sunsetsystems.com>\n * @copyright Copy...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Multi-Factor Authentication Management\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2018 Rod Roark <rod@sunsetsystems.com>\n * @copyright Copy...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * App Based TOTP Support\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Anthony Zullo <anthonykzullo@gmail.com>\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2019 Anthony Zullo ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * App Based TOTP Support\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Anthony Zullo <anthonykzullo@gmail.com>\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2019 Anthony Zullo ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * FIDO U2F Support Module\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2018 Rod Roark <rod@sunsetsystems.com>\n * @copyright Copyright (c) 2018 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * FIDO U2F Support Module\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2018 Rod Roark <rod@sunsetsystems.com>\n * @copyright Copyright (c) 2018 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This script Assign acl 'Emergency login'.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Roberto Vasquez <robertogagliotta@gmail.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @author Daniel Pflieger <daniel@mi-squared.com> <daniel@growlingfl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This script Assign acl 'Emergency login'.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Roberto Vasquez <robertogagliotta@gmail.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @author Daniel Pflieger <daniel@mi-squared.com> <daniel@growlingfl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [56, 333, 169, 174, 105, 286], "buggy_code_start_loc": [55, 332, 139, 112, 104, 280], "filenames": ["interface/orders/patient_match_dialog.php", "interface/patient_file/report/patient_report.php", "interface/usergroup/mfa_registrations.php", "interface/usergroup/mfa_totp.php", "interface/usergrou...
1,097
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $Id: pointdata.php 102 2010-11-28 06:02:03Z happyman $\n// 讀取 data, 及使用在 autocomplete 的 search\nrequire_once(\"preheader.php\");", "// 登入了嘛? 如果沒登入就不要顯示編輯選項\n$result=array();\nif (isset($_GET['q'])) {\n\t$q = $_GET['q'];\n}\nif (isset($_GET['id'])) {\n\t$id = $_GET['id'];\n}", "$sql=\"select * from po...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 23], "buggy_code_start_loc": [22, 22], "filenames": ["twmap3/data/ajaxCRUD/pointdata2.php", "twmap3/data/ajaxCRUD_old/pointdata2.php"], "fixing_code_end_loc": [23, 23], "fixing_code_start_loc": [22, 22], "message": "A vulnerability was found in happyman twmap. It has been declared as critica...
1,098
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $Id: pointdata.php 102 2010-11-28 06:02:03Z happyman $\n// 讀取 data, 及使用在 autocomplete 的 search\nrequire_once(\"preheader.php\");", "// 登入了嘛? 如果沒登入就不要顯示編輯選項\n$result=array();\nif (isset($_GET['q'])) {\n\t$q = $_GET['q'];\n}\nif (isset($_GET['id'])) {\n\t$id = $_GET['id'];\n}", "$sql=\"select * from po...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 23], "buggy_code_start_loc": [22, 22], "filenames": ["twmap3/data/ajaxCRUD/pointdata2.php", "twmap3/data/ajaxCRUD_old/pointdata2.php"], "fixing_code_end_loc": [23, 23], "fixing_code_start_loc": [22, 22], "message": "A vulnerability was found in happyman twmap. It has been declared as critica...
1,098
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $Id: pointdata.php 102 2010-11-28 06:02:03Z happyman $\n// 讀取 data, 及使用在 autocomplete 的 search\nrequire_once(\"preheader.php\");", "// 登入了嘛? 如果沒登入就不要顯示編輯選項\n$result=array();\nif (isset($_GET['q'])) {\n\t$q = $_GET['q'];\n}\nif (isset($_GET['id'])) {\n\t$id = $_GET['id'];\n}", "$sql=\"select * from po...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 23], "buggy_code_start_loc": [22, 22], "filenames": ["twmap3/data/ajaxCRUD/pointdata2.php", "twmap3/data/ajaxCRUD_old/pointdata2.php"], "fixing_code_end_loc": [23, 23], "fixing_code_start_loc": [22, 22], "message": "A vulnerability was found in happyman twmap. It has been declared as critica...
1,098
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// $Id: pointdata.php 102 2010-11-28 06:02:03Z happyman $\n// 讀取 data, 及使用在 autocomplete 的 search\nrequire_once(\"preheader.php\");", "// 登入了嘛? 如果沒登入就不要顯示編輯選項\n$result=array();\nif (isset($_GET['q'])) {\n\t$q = $_GET['q'];\n}\nif (isset($_GET['id'])) {\n\t$id = $_GET['id'];\n}", "$sql=\"select * from po...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 23], "buggy_code_start_loc": [22, 22], "filenames": ["twmap3/data/ajaxCRUD/pointdata2.php", "twmap3/data/ajaxCRUD_old/pointdata2.php"], "fixing_code_end_loc": [23, 23], "fixing_code_start_loc": [22, 22], "message": "A vulnerability was found in happyman twmap. It has been declared as critica...
1,098
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [241, 2028, 703], "buggy_code_start_loc": [241, 2028, 143], "filenames": ["MagickCore/memory.c", "MagickCore/quantum-import.c", "coders/viff.c"], "fixing_code_end_loc": [243, 2030, 727], "fixing_code_start_loc": [242, 2029, 144], "message": "The ReadVIFFImage function in coders/viff.c in ImageMag...
1,099
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [241, 2028, 703], "buggy_code_start_loc": [241, 2028, 143], "filenames": ["MagickCore/memory.c", "MagickCore/quantum-import.c", "coders/viff.c"], "fixing_code_end_loc": [243, 2030, 727], "fixing_code_start_loc": [242, 2029, 144], "message": "The ReadVIFFImage function in coders/viff.c in ImageMag...
1,099
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [241, 2028, 703], "buggy_code_start_loc": [241, 2028, 143], "filenames": ["MagickCore/memory.c", "MagickCore/quantum-import.c", "coders/viff.c"], "fixing_code_end_loc": [243, 2030, 727], "fixing_code_start_loc": [242, 2029, 144], "message": "The ReadVIFFImage function in coders/viff.c in ImageMag...
1,099
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [241, 2028, 703], "buggy_code_start_loc": [241, 2028, 143], "filenames": ["MagickCore/memory.c", "MagickCore/quantum-import.c", "coders/viff.c"], "fixing_code_end_loc": [243, 2030, 727], "fixing_code_start_loc": [242, 2029, 144], "message": "The ReadVIFFImage function in coders/viff.c in ImageMag...
1,099
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [241, 2028, 703], "buggy_code_start_loc": [241, 2028, 143], "filenames": ["MagickCore/memory.c", "MagickCore/quantum-import.c", "coders/viff.c"], "fixing_code_end_loc": [243, 2030, 727], "fixing_code_start_loc": [242, 2029, 144], "message": "The ReadVIFFImage function in coders/viff.c in ImageMag...
1,099
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [241, 2028, 703], "buggy_code_start_loc": [241, 2028, 143], "filenames": ["MagickCore/memory.c", "MagickCore/quantum-import.c", "coders/viff.c"], "fixing_code_end_loc": [243, 2030, 727], "fixing_code_start_loc": [242, 2029, 144], "message": "The ReadVIFFImage function in coders/viff.c in ImageMag...
1,099
Determine whether the {function_name} code is vulnerable or not.
[ "Configuration file\n++++++++++++++++++", ".. contents:: Topics", ".. highlight:: bash", "Certain settings in Ansible are adjustable via a configuration file. The stock configuration should be sufficient\nfor most users, but there may be reasons you would want to change them.", "Changes can be made and use...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 295, 238, 660], "buggy_code_start_loc": [86, 285, 238, 253], "filenames": ["docs/docsite/rst/intro_configuration.rst", "examples/ansible.cfg", "lib/ansible/constants.py", "lib/ansible/template/__init__.py"], "fixing_code_end_loc": [101, 302, 240, 667], "fixing_code_start_loc": [87, 285, 239,...
1,100
Determine whether the {function_name} code is vulnerable or not.
[ "Configuration file\n++++++++++++++++++", ".. contents:: Topics", ".. highlight:: bash", "Certain settings in Ansible are adjustable via a configuration file. The stock configuration should be sufficient\nfor most users, but there may be reasons you would want to change them.", "Changes can be made and use...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 295, 238, 660], "buggy_code_start_loc": [86, 285, 238, 253], "filenames": ["docs/docsite/rst/intro_configuration.rst", "examples/ansible.cfg", "lib/ansible/constants.py", "lib/ansible/template/__init__.py"], "fixing_code_end_loc": [101, 302, 240, 667], "fixing_code_start_loc": [87, 285, 239,...
1,100
Determine whether the {function_name} code is vulnerable or not.
[ "# config file for ansible -- https://ansible.com/\n# ===============================================", "# nearly all parameters can be overridden in ansible-playbook\n# or with command line flags. ansible will read ANSIBLE_CONFIG,\n# ansible.cfg in the current working directory, .ansible.cfg in\n# the home direc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 295, 238, 660], "buggy_code_start_loc": [86, 285, 238, 253], "filenames": ["docs/docsite/rst/intro_configuration.rst", "examples/ansible.cfg", "lib/ansible/constants.py", "lib/ansible/template/__init__.py"], "fixing_code_end_loc": [101, 302, 240, 667], "fixing_code_start_loc": [87, 285, 239,...
1,100
Determine whether the {function_name} code is vulnerable or not.
[ "# config file for ansible -- https://ansible.com/\n# ===============================================", "# nearly all parameters can be overridden in ansible-playbook\n# or with command line flags. ansible will read ANSIBLE_CONFIG,\n# ansible.cfg in the current working directory, .ansible.cfg in\n# the home direc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 295, 238, 660], "buggy_code_start_loc": [86, 285, 238, 253], "filenames": ["docs/docsite/rst/intro_configuration.rst", "examples/ansible.cfg", "lib/ansible/constants.py", "lib/ansible/template/__init__.py"], "fixing_code_end_loc": [101, 302, 240, 667], "fixing_code_start_loc": [87, 285, 239,...
1,100
Determine whether the {function_name} code is vulnerable or not.
[ "# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>\n#\n# This file is part of Ansible\n#\n# Ansible is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 3 of the License, or\n# (at you...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 295, 238, 660], "buggy_code_start_loc": [86, 285, 238, 253], "filenames": ["docs/docsite/rst/intro_configuration.rst", "examples/ansible.cfg", "lib/ansible/constants.py", "lib/ansible/template/__init__.py"], "fixing_code_end_loc": [101, 302, 240, 667], "fixing_code_start_loc": [87, 285, 239,...
1,100
Determine whether the {function_name} code is vulnerable or not.
[ "# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>\n#\n# This file is part of Ansible\n#\n# Ansible is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 3 of the License, or\n# (at you...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 295, 238, 660], "buggy_code_start_loc": [86, 285, 238, 253], "filenames": ["docs/docsite/rst/intro_configuration.rst", "examples/ansible.cfg", "lib/ansible/constants.py", "lib/ansible/template/__init__.py"], "fixing_code_end_loc": [101, 302, 240, 667], "fixing_code_start_loc": [87, 285, 239,...
1,100