Dataset Viewer
Auto-converted to Parquet Duplicate
cwe
stringclasses
9 values
func_name
stringlengths
2
53
func_src_before
stringlengths
73
114k
func_src_after
stringlengths
86
114k
line_changes
stringlengths
106
3.56k
char_changes
stringlengths
28
6.45k
commit_link
stringlengths
66
117
file_name
stringlengths
5
72
vul_type
stringclasses
9 values
num_tokens
int64
16
28.1k
cwe-125
php_wddx_push_element
*/ static void php_wddx_push_element(void *user_data, const XML_Char *name, const XML_Char **atts) { st_entry ent; wddx_stack *stack = (wddx_stack *)user_data; if (!strcmp(name, EL_PACKET)) { int i; if (atts) for (i=0; atts[i]; i++) { if (!strcmp(atts[i], EL_VERSION)) { /* nothing for now */ } } ...
*/ static void php_wddx_push_element(void *user_data, const XML_Char *name, const XML_Char **atts) { st_entry ent; wddx_stack *stack = (wddx_stack *)user_data; if (!strcmp(name, EL_PACKET)) { int i; if (atts) for (i=0; atts[i]; i++) { if (!strcmp(atts[i], EL_VERSION)) { /* nothing for now */ } } ...
{'deleted': [], 'added': [{'line_no': 71, 'char_start': 1972, 'char_end': 1983, 'line': '\t\t} else {\n'}, {'line_no': 72, 'char_start': 1983, 'char_end': 2009, 'line': '\t\t\tent.type = ST_BOOLEAN;\n'}, {'line_no': 73, 'char_start': 2009, 'char_end': 2031, 'line': '\t\t\tSET_STACK_VARNAME;\n'}, {'line_no': 74, 'char_s...
{'deleted': [], 'added': [{'char_start': 1975, 'char_end': 2125, 'chars': ' else {\n\t\t\tent.type = ST_BOOLEAN;\n\t\t\tSET_STACK_VARNAME;\n\t\t\tZVAL_FALSE(&ent.data);\n\t\t\twddx_stack_push((wddx_stack *)stack, &ent, sizeof(st_entry));\n\t\t}'}]}
github.com/php/php-src/commit/66fd44209d5ffcb9b3d1bc1b9fd8e35b485040c0
ext/wddx/wddx.c
cwe-125
1,595
cwe-022
_inject_admin_password_into_fs
def _inject_admin_password_into_fs(admin_passwd, fs, execute=None): """Set the root password to admin_passwd admin_password is a root password fs is the path to the base of the filesystem into which to inject the key. This method modifies the instance filesystem directly, and does not require ...
def _inject_admin_password_into_fs(admin_passwd, fs, execute=None): """Set the root password to admin_passwd admin_password is a root password fs is the path to the base of the filesystem into which to inject the key. This method modifies the instance filesystem directly, and does not require ...
{'deleted': [{'line_no': 23, 'char_start': 689, 'char_end': 760, 'line': " utils.execute('cp', os.path.join(fs, 'etc', 'passwd'), tmp_passwd,\n"}, {'line_no': 24, 'char_start': 760, 'char_end': 796, 'line': ' run_as_root=True)\n'}, {'line_no': 25, 'char_start': 796, 'char_end': 867, 'line': " uti...
{'deleted': [{'char_start': 693, 'char_end': 694, 'chars': 'u'}, {'char_start': 696, 'char_end': 701, 'chars': 'ls.ex'}, {'char_start': 703, 'char_end': 704, 'chars': 'u'}, {'char_start': 705, 'char_end': 706, 'chars': 'e'}, {'char_start': 711, 'char_end': 712, 'chars': ','}, {'char_start': 714, 'char_end': 716, 'chars...
github.com/openstack/nova/commit/2427d4a99bed35baefd8f17ba422cb7aae8dcca7
nova/virt/disk/api.py
cwe-022
287
cwe-078
test_create_modify_host
def test_create_modify_host(self): self.flags(lock_path=self.tempdir) #record self.clear_mox() self.stubs.Set(hpdriver.hpcommon.HP3PARCommon, "get_cpg", self.fake_get_cpg) self.stubs.Set(hpdriver.hpcommon.HP3PARCommon, "get_domain", ...
def test_create_modify_host(self): self.flags(lock_path=self.tempdir) #record self.clear_mox() self.stubs.Set(hpdriver.hpcommon.HP3PARCommon, "get_cpg", self.fake_get_cpg) self.stubs.Set(hpdriver.hpcommon.HP3PARCommon, "get_domain", ...
{'deleted': [{'line_no': 13, 'char_start': 504, 'char_end': 557, 'line': " show_host_cmd = 'showhost -verbose fakehost'\n"}, {'line_no': 16, 'char_start': 635, 'char_end': 690, 'line': " create_host_cmd = ('createhost -add fakehost '\n"}, {'line_no': 17, 'char_start': 690, 'char_end': 752, 'line': " ...
{'deleted': [{'char_start': 661, 'char_end': 662, 'chars': '('}, {'char_start': 728, 'char_end': 744, 'chars': '12345 1234567890'}, {'char_start': 750, 'char_end': 751, 'chars': ')'}], 'added': [{'char_start': 528, 'char_end': 529, 'chars': '['}, {'char_start': 538, 'char_end': 540, 'chars': "',"}, {'char_start': 541, ...
github.com/thatsdone/cinder/commit/c55589b131828f3a595903f6796cb2d0babb772f
cinder/tests/test_hp3par.py
cwe-078
296
cwe-476
store_versioninfo_gnu_verdef
static Sdb *store_versioninfo_gnu_verdef(ELFOBJ *bin, Elf_(Shdr) *shdr, int sz) { const char *section_name = ""; const char *link_section_name = ""; char *end = NULL; Elf_(Shdr) *link_shdr = NULL; ut8 dfs[sizeof (Elf_(Verdef))] = {0}; Sdb *sdb; int cnt, i; if (shdr->sh_link > bin->ehdr.e_shnum) { return false...
static Sdb *store_versioninfo_gnu_verdef(ELFOBJ *bin, Elf_(Shdr) *shdr, int sz) { const char *section_name = ""; const char *link_section_name = ""; char *end = NULL; Elf_(Shdr) *link_shdr = NULL; ut8 dfs[sizeof (Elf_(Verdef))] = {0}; Sdb *sdb; int cnt, i; if (shdr->sh_link > bin->ehdr.e_shnum) { return false...
{'deleted': [{'line_no': 39, 'char_start': 1241, 'char_end': 1331, 'line': '\tfor (cnt = 0, i = 0; i >= 0 && cnt < shdr->sh_info && ((char *)defs + i < end); ++cnt) {\n'}, {'line_no': 57, 'char_start': 1885, 'char_end': 1904, 'line': '\t\tif (vdaux < 1) {\n'}, {'line_no': 62, 'char_start': 1972, 'char_end': 2035, 'line...
{'deleted': [{'char_start': 1310, 'char_end': 1311, 'chars': '+'}, {'char_start': 1313, 'char_end': 1319, 'chars': ' < end'}, {'char_start': 2001, 'char_end': 2002, 'chars': '+'}, {'char_start': 2025, 'char_end': 2031, 'chars': ' > end'}, {'char_start': 2812, 'char_end': 2813, 'chars': '+'}, {'char_start': 2835, 'char_...
github.com/radare/radare2/commit/62e39f34b2705131a2d08aff0c2e542c6a52cf0e
libr/bin/format/elf/elf.c
cwe-476
1,452
cwe-078
get_lines
def get_lines(command: str) -> List[str]: """ Run a command and return lines of output :param str command: the command to run :returns: list of whitespace-stripped lines output by command """ stdout = get_output(command) return [line.strip().decode() for line in stdout.splitlines()]
def get_lines(command: List[str]) -> List[str]: """ Run a command and return lines of output :param str command: the command to run :returns: list of whitespace-stripped lines output by command """ stdout = get_output(command) return [line.strip() for line in stdout.splitlines()]
{'deleted': [{'line_no': 1, 'char_start': 0, 'char_end': 42, 'line': 'def get_lines(command: str) -> List[str]:\n'}, {'line_no': 9, 'char_start': 246, 'char_end': 312, 'line': ' return [line.strip().decode() for line in stdout.splitlines()]\n'}], 'added': [{'line_no': 1, 'char_start': 0, 'char_end': 48, 'line': 'def...
{'deleted': [{'char_start': 268, 'char_end': 277, 'chars': '().decode'}], 'added': [{'char_start': 23, 'char_end': 28, 'chars': 'List['}, {'char_start': 31, 'char_end': 32, 'chars': ']'}]}
github.com/timothycrosley/isort/commit/1ab38f4f7840a3c19bf961a24630a992a8373a76
isort/hooks.py
cwe-078
73
cwe-079
get_context_data
def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['comments'] = self.object.comment_set.all().order_by('-time') context['form'] = self.get_form() context['md'] = markdown(self.object.content, extensions=[ ...
def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['comments'] = self.object.comment_set.all().order_by('-time') context['form'] = self.get_form() context['md'] = safe_md(self.object.content) return context
{'deleted': [{'line_no': 5, 'char_start': 215, 'char_end': 269, 'line': " context['md'] = markdown(self.object.content,\n"}, {'line_no': 6, 'char_start': 269, 'char_end': 315, 'line': ' extensions=[\n'}, {'line_no': 7, 'char_start': 315, 'char_end': 381, 'line': " ...
{'deleted': [{'char_start': 239, 'char_end': 240, 'chars': 'm'}, {'char_start': 241, 'char_end': 243, 'chars': 'rk'}, {'char_start': 244, 'char_end': 247, 'chars': 'own'}, {'char_start': 267, 'char_end': 550, 'chars': ",\n extensions=[\n 'markdown.exte...
github.com/Cheng-mq1216/production-practice/commit/333dc34f5feada55d1f6ff1255949ca00dec0f9c
app/Index/views.py
cwe-079
88
cwe-125
hid_input_field
static void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt) { unsigned n; unsigned count = field->report_count; unsigned offset = field->report_offset; unsigned size = field->report_size; __s32 min = field->logical_minimum; __s32 max = field->logical_maximum; __...
static void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt) { unsigned n; unsigned count = field->report_count; unsigned offset = field->report_offset; unsigned size = field->report_size; __s32 min = field->logical_minimum; __s32 max = field->logical_maximum; __...
{'deleted': [], 'added': [{'line_no': 26, 'char_start': 740, 'char_end': 782, 'line': '\t\t value[n] - min < field->maxusage &&\n'}, {'line_no': 39, 'char_start': 1088, 'char_end': 1134, 'line': '\t\t\t&& field->value[n] - min < field->maxusage\n'}, {'line_no': 45, 'char_start': 1354, 'char_end': 1393, 'line': '\t\t...
{'deleted': [{'char_start': 803, 'char_end': 803, 'chars': ''}, {'char_start': 1225, 'char_end': 1225, 'chars': ''}], 'added': [{'char_start': 746, 'char_end': 788, 'chars': 'value[n] - min < field->maxusage &&\n\t\t '}, {'char_start': 1088, 'char_end': 1134, 'chars': '\t\t\t&& field->value[n] - min < field->maxusag...
github.com/torvalds/linux/commit/50220dead1650609206efe91f0cc116132d59b3f
drivers/hid/hid-core.c
cwe-125
460
cwe-089
add_input
def add_input(self,data): connection = self.connect() try: query = "INSERT INTO crimes (description) VALUES ('{}');".format(data) with connection.cursor() as cursor: cursor.execute(query) connection.commit() finally: connec...
def add_input(self,data): connection = self.connect() try: query = "INSERT INTO crimes (description) VALUES (%s);" with connection.cursor() as cursor: cursor.execute(query,data) connection.commit() finally: connection.close...
{'deleted': [{'line_no': 5, 'char_start': 80, 'char_end': 163, 'line': ' query = "INSERT INTO crimes (description) VALUES (\'{}\');".format(data)\n'}, {'line_no': 7, 'char_start': 211, 'char_end': 249, 'line': ' cursor.execute(query)\n'}], 'added': [{'line_no': 5, 'char_start': 80, 'char_end':...
{'deleted': [{'char_start': 142, 'char_end': 146, 'chars': "'{}'"}, {'char_start': 149, 'char_end': 162, 'chars': '.format(data)'}], 'added': [{'char_start': 142, 'char_end': 144, 'chars': '%s'}, {'char_start': 232, 'char_end': 237, 'chars': ',data'}]}
github.com/sgnab/crime-map-app/commit/209b23bad13594c9cdf18d8788fcba7c8f68d37b
dbhelper.py
cwe-089
58
cwe-190
choose_volume
choose_volume(struct archive_read *a, struct iso9660 *iso9660) { struct file_info *file; int64_t skipsize; struct vd *vd; const void *block; char seenJoliet; vd = &(iso9660->primary); if (!iso9660->opt_support_joliet) iso9660->seenJoliet = 0; if (iso9660->seenJoliet && vd->location > iso9660->joliet.locati...
choose_volume(struct archive_read *a, struct iso9660 *iso9660) { struct file_info *file; int64_t skipsize; struct vd *vd; const void *block; char seenJoliet; vd = &(iso9660->primary); if (!iso9660->opt_support_joliet) iso9660->seenJoliet = 0; if (iso9660->seenJoliet && vd->location > iso9660->joliet.locati...
{'deleted': [{'line_no': 17, 'char_start': 407, 'char_end': 454, 'line': '\tskipsize = LOGICAL_BLOCK_SIZE * vd->location;\n'}, {'line_no': 55, 'char_start': 1599, 'char_end': 1647, 'line': '\t\tskipsize = LOGICAL_BLOCK_SIZE * vd->location;\n'}], 'added': [{'line_no': 17, 'char_start': 407, 'char_end': 463, 'line': '\ts...
{'deleted': [], 'added': [{'char_start': 440, 'char_end': 449, 'chars': '(int64_t)'}, {'char_start': 1642, 'char_end': 1651, 'chars': '(int64_t)'}]}
github.com/libarchive/libarchive/commit/3ad08e01b4d253c66ae56414886089684155af22
libarchive/archive_read_support_format_iso9660.c
cwe-190
862
cwe-022
misc_file_checks
def misc_file_checks(self): print_header("MISC FILE CHECKS") # # Check for recommended and mandatory files # filenames = ("manifest.json", "LICENSE", "README.md", "scripts/install", "scripts/remove", "scripts/upgrade", ...
def misc_file_checks(self): print_header("MISC FILE CHECKS") # # Check for recommended and mandatory files # filenames = ("manifest.json", "LICENSE", "README.md", "scripts/install", "scripts/remove", "scripts/upgrade", ...
{'deleted': [{'line_no': 39, 'char_start': 1268, 'char_end': 1336, 'line': ' if not os.path.isfile(self.path + "/conf/" + filename):\n'}], 'added': [{'line_no': 42, 'char_start': 1425, 'char_end': 1520, 'line': ' if not os.path.isfile(self.path + "/conf/" + filename) or "nginx" not in filename:\n'...
{'deleted': [], 'added': [{'char_start': 1153, 'char_end': 1184, 'chars': 'Analyze nginx conf\n # - '}, {'char_start': 1240, 'char_end': 1292, 'chars': ' - Spot path traversal issue vulnerability\n #'}, {'char_start': 1363, 'char_end': 1437, 'chars': '# Ignore subdirs or filename not containing nginx in t...
github.com/YunoHost/package_linter/commit/f6e98894cfe841aedaa7efd590937f0255193913
package_linter.py
cwe-022
386
cwe-190
authDigestNonceLink
authDigestNonceLink(digest_nonce_h * nonce) { assert(nonce != NULL); ++nonce->references; debugs(29, 9, "nonce '" << nonce << "' now at '" << nonce->references << "'."); }
authDigestNonceLink(digest_nonce_h * nonce) { assert(nonce != NULL); ++nonce->references; assert(nonce->references != 0); // no overflows debugs(29, 9, "nonce '" << nonce << "' now at '" << nonce->references << "'."); }
{'deleted': [], 'added': [{'line_no': 5, 'char_start': 98, 'char_end': 150, 'line': ' assert(nonce->references != 0); // no overflows\n'}]}
{'deleted': [], 'added': [{'char_start': 102, 'char_end': 154, 'chars': 'assert(nonce->references != 0); // no overflows\n '}]}
github.com/squid-cache/squid/commit/eeebf0f37a72a2de08348e85ae34b02c34e9a811
src/auth/digest/Config.cc
cwe-190
53
cwe-089
set_state
def set_state(chat_id, value): settings = sqlite3.connect(os.path.abspath(os.path.dirname(__file__)) + "\\bases\\settings.db") conn = settings.cursor() conn.execute("update users set state ='" + str(value) + "' where chat_id = '" + str(chat_id) + "'") settings.commit() settings.close()
def set_state(chat_id, value): settings = sqlite3.connect(os.path.abspath(os.path.dirname(__file__)) + "\\bases\\settings.db") conn = settings.cursor() conn.execute("update users set state = ? where chat_id = ?", (str(value), str(chat_id))) settings.commit() settings.close()
{'deleted': [{'line_no': 4, 'char_start': 160, 'char_end': 264, 'line': ' conn.execute("update users set state =\'" + str(value) + "\' where chat_id = \'" + str(chat_id) + "\'")\n'}], 'added': [{'line_no': 4, 'char_start': 160, 'char_end': 253, 'line': ' conn.execute("update users set state = ? where chat_id = ?"...
{'deleted': [{'char_start': 202, 'char_end': 204, 'chars': '\'"'}, {'char_start': 205, 'char_end': 222, 'chars': '+ str(value) + "\''}, {'char_start': 239, 'char_end': 240, 'chars': "'"}, {'char_start': 242, 'char_end': 243, 'chars': '+'}, {'char_start': 256, 'char_end': 262, 'chars': ' + "\'"'}], 'added': [{'char_star...
github.com/lissrbay/codeforces_bot/commit/cc7f5143445a0030b1149ac60a65b1b1b9c92a90
bot.py
cwe-089
73
cwe-416
snd_pcm_period_elapsed
void snd_pcm_period_elapsed(struct snd_pcm_substream *substream) { struct snd_pcm_runtime *runtime; unsigned long flags; if (PCM_RUNTIME_CHECK(substream)) return; runtime = substream->runtime; snd_pcm_stream_lock_irqsave(substream, flags); if (!snd_pcm_running(substream) || snd_pcm_update_hw_ptr0(substre...
void snd_pcm_period_elapsed(struct snd_pcm_substream *substream) { struct snd_pcm_runtime *runtime; unsigned long flags; if (PCM_RUNTIME_CHECK(substream)) return; runtime = substream->runtime; snd_pcm_stream_lock_irqsave(substream, flags); if (!snd_pcm_running(substream) || snd_pcm_update_hw_ptr0(substre...
{'deleted': [{'line_no': 20, 'char_start': 463, 'char_end': 516, 'line': '\tsnd_pcm_stream_unlock_irqrestore(substream, flags);\n'}], 'added': [{'line_no': 21, 'char_start': 511, 'char_end': 564, 'line': '\tsnd_pcm_stream_unlock_irqrestore(substream, flags);\n'}]}
{'deleted': [{'char_start': 513, 'char_end': 561, 'chars': ');\n\tkill_fasync(&runtime->fasync, SIGIO, POLL_IN'}], 'added': [{'char_start': 464, 'char_end': 512, 'chars': 'kill_fasync(&runtime->fasync, SIGIO, POLL_IN);\n\t'}]}
github.com/torvalds/linux/commit/3aa02cb664c5fb1042958c8d1aa8c35055a2ebc4
sound/core/pcm_lib.c
cwe-416
150
cwe-089
add_month_data_row
def add_month_data_row(self, inverter_serial, ts, etoday, etotal): y = datetime.fromtimestamp(ts) - timedelta(days=1) y_ts = int(datetime(y.year, y.month, y.day, 23, tzinfo=pytz.utc).timestamp()) query = ''' INSERT INTO MonthData ( TimeStamp, Ser...
def add_month_data_row(self, inverter_serial, ts, etoday, etotal): y = datetime.fromtimestamp(ts) - timedelta(days=1) y_ts = int(datetime(y.year, y.month, y.day, 23, tzinfo=pytz.utc).timestamp()) query = ''' INSERT INTO MonthData ( TimeStamp, Ser...
{'deleted': [{'line_no': 13, 'char_start': 434, 'char_end': 454, 'line': ' %s,\n'}, {'line_no': 14, 'char_start': 454, 'char_end': 474, 'line': ' %s,\n'}, {'line_no': 15, 'char_start': 474, 'char_end': 494, 'line': ' %s,\n'}, {'line_no': 16, 'char_start': 494, 'char_end': 51...
{'deleted': [{'char_start': 450, 'char_end': 452, 'chars': '%s'}, {'char_start': 470, 'char_end': 472, 'chars': '%s'}, {'char_start': 490, 'char_end': 492, 'chars': '%s'}, {'char_start': 510, 'char_end': 512, 'chars': '%s'}, {'char_start': 540, 'char_end': 541, 'chars': '%'}, {'char_start': 581, 'char_end': 610, 'chars...
github.com/philipptrenz/s0-bridge/commit/269b48caa05377b7c58c3e6d1622a4429cb5ba65
util/database.py
cwe-089
135
cwe-125
read_quant_matrix_ext
static void read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) { int i, j, v; if (get_bits1(gb)) { /* intra_quantiser_matrix */ for (i = 0; i < 64; i++) { v = get_bits(gb, 8); j = s->idsp.idct_permutation[ff_zigzag_direct[i]]; s->intra_matrix[j] ...
static int read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) { int i, j, v; if (get_bits1(gb)) { if (get_bits_left(gb) < 64*8) return AVERROR_INVALIDDATA; /* intra_quantiser_matrix */ for (i = 0; i < 64; i++) { v = get_bits(gb, 8); j = s->id...
{'deleted': [{'line_no': 1, 'char_start': 0, 'char_end': 72, 'line': 'static void read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb)\n'}], 'added': [{'line_no': 1, 'char_start': 0, 'char_end': 71, 'line': 'static int read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb)\n'}, {'line_no': 6, 'char_start': ...
{'deleted': [{'char_start': 7, 'char_end': 9, 'chars': 'vo'}, {'char_start': 10, 'char_end': 11, 'chars': 'd'}], 'added': [{'char_start': 8, 'char_end': 10, 'chars': 'nt'}, {'char_start': 115, 'char_end': 193, 'chars': '\n if (get_bits_left(gb) < 64*8)\n return AVERROR_INVALIDDATA;'}, {'char_start': 4...
github.com/FFmpeg/FFmpeg/commit/5aba5b89d0b1d73164d3b81764828bb8b20ff32a
libavcodec/mpeg4videodec.c
cwe-125
315
cwe-078
_get_least_used_nsp
def _get_least_used_nsp(self, nspss): """"Return the nsp that has the fewest active vluns.""" # return only the nsp (node:server:port) result = self.common._cli_run('showvlun -a -showcols Port', None) # count the number of nsps (there is 1 for each active vlun) nsp_counts = ...
def _get_least_used_nsp(self, nspss): """"Return the nsp that has the fewest active vluns.""" # return only the nsp (node:server:port) result = self.common._cli_run(['showvlun', '-a', '-showcols', 'Port']) # count the number of nsps (there is 1 for each active vlun) nsp_coun...
{'deleted': [{'line_no': 4, 'char_start': 155, 'char_end': 229, 'line': " result = self.common._cli_run('showvlun -a -showcols Port', None)\n"}], 'added': [{'line_no': 4, 'char_start': 155, 'char_end': 234, 'line': " result = self.common._cli_run(['showvlun', '-a', '-showcols', 'Port'])\n"}]}
{'deleted': [{'char_start': 221, 'char_end': 227, 'chars': ', None'}], 'added': [{'char_start': 193, 'char_end': 194, 'chars': '['}, {'char_start': 203, 'char_end': 205, 'chars': "',"}, {'char_start': 206, 'char_end': 207, 'chars': "'"}, {'char_start': 209, 'char_end': 211, 'chars': "',"}, {'char_start': 212, 'char_end...
github.com/thatsdone/cinder/commit/c55589b131828f3a595903f6796cb2d0babb772f
cinder/volume/drivers/san/hp/hp_3par_iscsi.py
cwe-078
256
cwe-078
verify
def verify(self, data): credentials = self._formatCredentials(data, name='current') command = '{} rclone lsjson current:'.format(credentials) try: result = self._execute(command) return { 'result': True, 'message': 'Success', ...
def verify(self, data): credentials = self._formatCredentials(data, name='current') command = [ 'rclone', 'lsjson', 'current:', ] try: result = self._execute(command, credentials) return { 'result': True, ...
{'deleted': [{'line_no': 3, 'char_start': 96, 'char_end': 162, 'line': " command = '{} rclone lsjson current:'.format(credentials)\n"}, {'line_no': 6, 'char_start': 176, 'char_end': 220, 'line': ' result = self._execute(command)\n'}], 'added': [{'line_no': 3, 'char_start': 96, 'char_end': 116, 'line':...
{'deleted': [{'char_start': 115, 'char_end': 118, 'chars': '{} '}, {'char_start': 141, 'char_end': 161, 'chars': '.format(credentials)'}], 'added': [{'char_start': 114, 'char_end': 123, 'chars': '[\n '}, {'char_start': 124, 'char_end': 129, 'chars': " '"}, {'char_start': 135, 'char_end': 141, 'chars': "',\n ...
github.com/FredHutch/motuz/commit/045468cb9bff47bb3bb72268b6d5a3fe44e383db
src/backend/api/utils/rclone_connection.py
cwe-078
104
cwe-078
start
def start(): print("[*] Starting backdoor process") print("[*] Decompressing target to tmp directory...") #subprocess.call("jar -x %s" % target, shell=True) with zipfile.ZipFile(target, 'r') as zip: zip.extractall("tmp") print("[*] Target dumped to tmp directory") print("[*] Modifying m...
def start(): print("[*] Starting backdoor process") print("[*] Decompressing target to tmp directory...") #subprocess.call("jar -x %s" % target, shell=True) with zipfile.ZipFile(target, 'r') as zip: zip.extractall("tmp") print("[*] Target dumped to tmp directory") print("[*] Modifying m...
{'deleted': [{'line_no': 44, 'char_start': 1462, 'char_end': 1539, 'line': ' if subprocess.call("javac -cp tmp/ tmp/%s" % backdoor, shell=True) != 0:\n'}], 'added': [{'line_no': 45, 'char_start': 1540, 'char_end': 1623, 'line': " if subprocess.call(['javac','-cp','tmp/','tmp/%s'%backdoor],shell=False) != 0:\n"}]}
{'deleted': [], 'added': [{'char_start': 1466, 'char_end': 1467, 'chars': '#'}, {'char_start': 1531, 'char_end': 1614, 'chars': "e) != 0:\n if subprocess.call(['javac','-cp','tmp/','tmp/%s'%backdoor],shell=Fals"}]}
github.com/Atticuss/ajar/commit/5ed8aba271ad20e6168f2e3bd6c25ba89b84484f
ajar.py
cwe-078
483
cwe-787
idn2_to_ascii_4i
idn2_to_ascii_4i (const uint32_t * input, size_t inlen, char * output, int flags) { uint32_t *input_u32; uint8_t *input_u8, *output_u8; size_t length; int rc; if (!input) { if (output) *output = 0; return IDN2_OK; } input_u32 = (uint32_t *) malloc ((inlen + 1) * sizeof(uint32_t)); i...
idn2_to_ascii_4i (const uint32_t * input, size_t inlen, char * output, int flags) { uint32_t *input_u32; uint8_t *input_u8, *output_u8; size_t length; int rc; if (!input) { if (output) *output = 0; return IDN2_OK; } input_u32 = (uint32_t *) malloc ((inlen + 1) * sizeof(uint32_t)); i...
{'deleted': [{'line_no': 41, 'char_start': 933, 'char_end': 977, 'line': '\tstrcpy (output, (const char *) output_u8);\n'}, {'line_no': 43, 'char_start': 978, 'char_end': 1001, 'line': ' free(output_u8);\n'}], 'added': [{'line_no': 40, 'char_start': 915, 'char_end': 963, 'line': ' size_t len = strlen ((char *...
{'deleted': [{'char_start': 951, 'char_end': 957, 'chars': 'const '}], 'added': [{'char_start': 921, 'char_end': 1063, 'chars': 'size_t len = strlen ((char *) output_u8);\n\n if (len > 63)\n {\n\t free (output_u8);\n\t return IDN2_TOO_BIG_DOMAIN;\n }\n\n '}, {'char_start': 1124, 'char_end': 11...
github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c
lib/lookup.c
cwe-787
349
cwe-416
r_anal_bb_free
R_API void r_anal_bb_free(RAnalBlock *bb) { if (!bb) { return; } r_anal_cond_free (bb->cond); R_FREE (bb->fingerprint); r_anal_diff_free (bb->diff); bb->diff = NULL; R_FREE (bb->op_bytes); r_anal_switch_op_free (bb->switch_op); bb->switch_op = NULL; bb->fingerprint = NULL; bb->cond = NULL; R_FREE (bb->lab...
R_API void r_anal_bb_free(RAnalBlock *bb) { if (!bb) { return; } r_anal_cond_free (bb->cond); R_FREE (bb->fingerprint); r_anal_diff_free (bb->diff); bb->diff = NULL; R_FREE (bb->op_bytes); r_anal_switch_op_free (bb->switch_op); bb->switch_op = NULL; bb->fingerprint = NULL; bb->cond = NULL; R_FREE (bb->lab...
{'deleted': [{'line_no': 34, 'char_start': 686, 'char_end': 700, 'line': '\tR_FREE (bb);\n'}], 'added': [{'line_no': 34, 'char_start': 686, 'char_end': 703, 'line': '\tif (bb->next) {\n'}, {'line_no': 36, 'char_start': 726, 'char_end': 751, 'line': '\t\tbb->next->prev = NULL;\n'}, {'line_no': 37, 'char_start': 751, 'ch...
{'deleted': [], 'added': [{'char_start': 687, 'char_end': 755, 'chars': 'if (bb->next) {\n\t\t// avoid double free\n\t\tbb->next->prev = NULL;\n\t}\n\t'}, {'char_start': 767, 'char_end': 782, 'chars': ' // double free'}]}
github.com/radare/radare2/commit/90b71c017a7fa9732fe45fd21b245ee051b1f548
libr/anal/bb.c
cwe-416
265
cwe-416
TraceBezier
static MagickBooleanType TraceBezier(MVGInfo *mvg_info, const size_t number_coordinates) { double alpha, *coefficients, weight; PointInfo end, point, *points; PrimitiveInfo *primitive_info; register PrimitiveInfo *p; register ssize_t i, j; size_t control_po...
static MagickBooleanType TraceBezier(MVGInfo *mvg_info, const size_t number_coordinates) { double alpha, *coefficients, weight; PointInfo end, point, *points; PrimitiveInfo *primitive_info; register PrimitiveInfo *p; register ssize_t i, j; size_t control_po...
{'deleted': [{'line_no': 57, 'char_start': 1342, 'char_end': 1405, 'line': ' quantum=MagickMin(quantum/number_coordinates,BezierQuantum);\n'}], 'added': [{'line_no': 58, 'char_start': 1405, 'char_end': 1468, 'line': ' quantum=MagickMin(quantum/number_coordinates,BezierQuantum);\n'}, {'line_no': 80, 'char_start': 2403...
{'deleted': [{'char_start': 1344, 'char_end': 1407, 'chars': 'quantum=MagickMin(quantum/number_coordinates,BezierQuantum);\n '}], 'added': [{'char_start': 1344, 'char_end': 1407, 'chars': 'primitive_info=(*mvg_info->primitive_info)+mvg_info->offset;\n '}, {'char_start': 2402, 'char_end': 2465, 'chars': '\n primitive...
github.com/ImageMagick/ImageMagick/commit/ecf7c6b288e11e7e7f75387c5e9e93e423b98397
MagickCore/draw.c
cwe-416
1,081
cwe-089
login
def login(self, username, password): select_query = """ SELECT client_id, username, balance, message FROM Clients WHERE username = '{}' AND password = '{}' LIMIT 1 """.format(username, password) cursor = self.__conn.cursor() cursor.ex...
def login(self, username, password): select_query = """ SELECT client_id, username, balance, message FROM Clients WHERE username = ? AND password = ? LIMIT 1 """ cursor = self.__conn.cursor() cursor.execute(select_query, (username, pa...
{'deleted': [{'line_no': 5, 'char_start': 150, 'char_end': 204, 'line': " WHERE username = '{}' AND password = '{}'\n"}, {'line_no': 7, 'char_start': 224, 'char_end': 263, 'line': ' """.format(username, password)\n'}, {'line_no': 11, 'char_start': 303, 'char_end': 340, 'line': ' cursor.execute(...
{'deleted': [{'char_start': 179, 'char_end': 183, 'chars': "'{}'"}, {'char_start': 199, 'char_end': 203, 'chars': "'{}'"}, {'char_start': 235, 'char_end': 262, 'chars': '.format(username, password)'}], 'added': [{'char_start': 179, 'char_end': 180, 'chars': '?'}, {'char_start': 196, 'char_end': 197, 'chars': '?'}, {'ch...
github.com/AnetaStoycheva/Programming101_HackBulgaria/commit/c0d6f4b8fe83a375832845a45952b5153e4c34f3
Week_9/sql_manager.py
cwe-089
100
cwe-089
get_secrets
def get_secrets(self, from_date_added=0): secrets = [] for row in self.cursor.execute('SELECT encrypted, json_id, date_added FROM secret WHERE date_added > %s ORDER BY date_added DESC' % from_date_added): aes_key, json_id, date_added = cryptlib.eciesDecrypt(row[0], self.privkey), row[1], row[2] if aes_key !=...
def get_secrets(self, from_date_added=0): secrets = [] for row in self.cursor.execute('SELECT encrypted, json_id, date_added FROM secret WHERE date_added > ? ORDER BY date_added DESC', (from_date_added,)): aes_key, json_id, date_added = cryptlib.eciesDecrypt(row[0], self.privkey), row[1], row[2] if aes_key !...
{'deleted': [{'line_no': 3, 'char_start': 58, 'char_end': 210, 'line': "\t\tfor row in self.cursor.execute('SELECT encrypted, json_id, date_added FROM secret WHERE date_added > %s ORDER BY date_added DESC' % from_date_added):\n"}], 'added': [{'line_no': 3, 'char_start': 58, 'char_end': 211, 'line': "\t\tfor row in self...
{'deleted': [{'char_start': 161, 'char_end': 163, 'chars': '%s'}, {'char_start': 189, 'char_end': 191, 'chars': ' %'}], 'added': [{'char_start': 161, 'char_end': 162, 'chars': '?'}, {'char_start': 188, 'char_end': 189, 'chars': ','}, {'char_start': 190, 'char_end': 191, 'chars': '('}, {'char_start': 206, 'char_end': 20...
github.com/imachug/ZeroMailProxy/commit/8f62d024c6c4c957079d147e59f26d15c07dc888
zeromail.py
cwe-089
125
cwe-476
open_ssl_connection
open_ssl_connection (rfbClient *client, int sockfd, rfbBool anonTLS, rfbCredential *cred) { SSL_CTX *ssl_ctx = NULL; SSL *ssl = NULL; int n, finished = 0; X509_VERIFY_PARAM *param; uint8_t verify_crls = cred->x509Credential.x509CrlVerifyMode; if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) { rf...
open_ssl_connection (rfbClient *client, int sockfd, rfbBool anonTLS, rfbCredential *cred) { SSL_CTX *ssl_ctx = NULL; SSL *ssl = NULL; int n, finished = 0; X509_VERIFY_PARAM *param; uint8_t verify_crls; if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) { rfbClientLog("Could not create new SSL cont...
{'deleted': [{'line_no': 7, 'char_start': 189, 'char_end': 253, 'line': ' uint8_t verify_crls = cred->x509Credential.x509CrlVerifyMode;\n'}], 'added': [{'line_no': 7, 'char_start': 189, 'char_end': 212, 'line': ' uint8_t verify_crls;\n'}, {'line_no': 20, 'char_start': 452, 'char_end': 510, 'line': ' verify_crls = ...
{'deleted': [{'char_start': 210, 'char_end': 251, 'chars': ' = cred->x509Credential.x509CrlVerifyMode'}], 'added': [{'char_start': 451, 'char_end': 509, 'chars': '\n verify_crls = cred->x509Credential.x509CrlVerifyMode;'}]}
github.com/LibVNC/libvncserver/commit/33441d90a506d5f3ae9388f2752901227e430553
libvncclient/tls_openssl.c
cwe-476
981
cwe-089
get_top_author
def get_top_author(top_num): """ query the top(top_num) popular author top_num => list of [author, count] """ cmd = """SELECT authors.name,author_result.num FROM authors JOIN (SELECT SUM(article_result.num) as num, article_result.aut...
def get_top_author(top_num): """ query the top(top_num) popular author top_num => list of [author, count] """ cmd = """SELECT authors.name,author_result.num FROM authors JOIN (SELECT SUM(article_result.num) as num, article_result.aut...
{'deleted': [{'line_no': 21, 'char_start': 931, 'char_end': 998, 'line': ' ORDER BY num DESC LIMIT {}""".format(top_num)\r\n'}, {'line_no': 22, 'char_start': 998, 'char_end': 1027, 'line': ' return execute_query(cmd)\r\n'}], 'added': [{'line_no': 21, 'char_start': 931, 'char_end': 982, 'line': ' ...
{'deleted': [{'char_start': 975, 'char_end': 977, 'chars': '{}'}, {'char_start': 980, 'char_end': 985, 'chars': '.form'}, {'char_start': 987, 'char_end': 988, 'chars': '('}, {'char_start': 995, 'char_end': 996, 'chars': ')'}], 'added': [{'char_start': 975, 'char_end': 977, 'chars': '%s'}, {'char_start': 980, 'char_end'...
github.com/thugasin/udacity-homework-logAnalyzer/commit/506f25f9a1caee7f17034adf7c75e0efbc88082b
logAnalyzerDb.py
cwe-089
177
cwe-022
render
def render(self, request): action = "download" if "action" in request.args: action = request.args["action"][0] if "file" in request.args: filename = request.args["file"][0].decode('utf-8', 'ignore').encode('utf-8') filename = re.sub("^/+", "/", os.path.realpath(filename)) if not os.path.exists(file...
def render(self, request): action = "download" if "action" in request.args: action = request.args["action"][0] if "file" in request.args: filename = lenient_force_utf_8(request.args["file"][0]) filename = sanitise_filename_slashes(os.path.realpath(filename)) if not os.path.exists(filename): ret...
{'deleted': [{'line_no': 7, 'char_start': 149, 'char_end': 229, 'line': '\t\t\tfilename = request.args["file"][0].decode(\'utf-8\', \'ignore\').encode(\'utf-8\')\n'}, {'line_no': 8, 'char_start': 229, 'char_end': 290, 'line': '\t\t\tfilename = re.sub("^/+", "/", os.path.realpath(filename))\n'}], 'added': [{'line_no': 7...
{'deleted': [{'char_start': 186, 'char_end': 227, 'chars': ".decode('utf-8', 'ignore').encode('utf-8'"}, {'char_start': 243, 'char_end': 244, 'chars': 'r'}, {'char_start': 245, 'char_end': 246, 'chars': '.'}, {'char_start': 247, 'char_end': 249, 'chars': 'ub'}, {'char_start': 250, 'char_end': 262, 'chars': '"^/+", "/",...
github.com/E2OpenPlugins/e2openplugin-OpenWebif/commit/a846b7664eda3a4c51a452e00638cf7337dc2013
plugin/controllers/file.py
cwe-022
590
cwe-089
update_theory_base
def update_theory_base(tag, link): theory = sqlite3.connect(os.path.abspath(os.path.dirname(__file__)) + "\\theory.db") conn = theory.cursor() conn.execute("insert into " + str(tag) + " values (?)", (str(link), )) theory.commit() theory.close()
def update_theory_base(tag, link): theory = sqlite3.connect(os.path.abspath(os.path.dirname(__file__)) + "\\theory.db") conn = theory.cursor() conn.execute("insert into ? values (?)", (tag, str(link))) theory.commit() theory.close()
{'deleted': [{'line_no': 4, 'char_start': 151, 'char_end': 226, 'line': ' conn.execute("insert into " + str(tag) + " values (?)", (str(link), ))\n'}], 'added': [{'line_no': 4, 'char_start': 151, 'char_end': 214, 'line': ' conn.execute("insert into ? values (?)", (tag, str(link)))\n'}]}
{'deleted': [{'char_start': 181, 'char_end': 197, 'chars': '" + str(tag) + "'}, {'char_start': 221, 'char_end': 223, 'chars': ', '}], 'added': [{'char_start': 181, 'char_end': 182, 'chars': '?'}, {'char_start': 197, 'char_end': 202, 'chars': 'tag, '}]}
github.com/lissrbay/codeforces_bot/commit/cc7f5143445a0030b1149ac60a65b1b1b9c92a90
bases/update.py
cwe-089
64
cwe-125
ReadSUNImage
static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception) { #define RMT_EQUAL_RGB 1 #define RMT_NONE 0 #define RMT_RAW 2 #define RT_STANDARD 1 #define RT_ENCODED 2 #define RT_FORMAT_RGB 3 typedef struct _SUNInfo { unsigned int magic, width, height, depth, ...
static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception) { #define RMT_EQUAL_RGB 1 #define RMT_NONE 0 #define RMT_RAW 2 #define RT_STANDARD 1 #define RT_ENCODED 2 #define RT_FORMAT_RGB 3 typedef struct _SUNInfo { unsigned int magic, width, height, depth, ...
{'deleted': [{'line_no': 201, 'char_start': 6237, 'char_end': 6310, 'line': ' ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");\n'}, {'line_no': 217, 'char_start': 7201, 'char_end': 7274, 'line': ' ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");\n'}, {'line_no': 221, 'char_...
{'deleted': [{'char_start': 6284, 'char_end': 6286, 'chars': 'Me'}, {'char_start': 6289, 'char_end': 6295, 'chars': 'yAlloc'}, {'char_start': 6296, 'char_end': 6304, 'chars': 'tionFail'}, {'char_start': 7248, 'char_end': 7250, 'chars': 'Me'}, {'char_start': 7253, 'char_end': 7259, 'chars': 'yAlloc'}, {'char_start': 726...
github.com/ImageMagick/ImageMagick/commit/6b4aff0f117b978502ee5bcd6e753c17aec5a961
coders/sun.c
cwe-125
3,541
cwe-476
hash_accept
static int hash_accept(struct socket *sock, struct socket *newsock, int flags) { struct sock *sk = sock->sk; struct alg_sock *ask = alg_sk(sk); struct hash_ctx *ctx = ask->private; struct ahash_request *req = &ctx->req; char state[crypto_ahash_statesize(crypto_ahash_reqtfm(req))]; struct sock *sk2; struct alg_so...
static int hash_accept(struct socket *sock, struct socket *newsock, int flags) { struct sock *sk = sock->sk; struct alg_sock *ask = alg_sk(sk); struct hash_ctx *ctx = ask->private; struct ahash_request *req = &ctx->req; char state[crypto_ahash_statesize(crypto_ahash_reqtfm(req))]; struct sock *sk2; struct alg_so...
{'deleted': [{'line_no': 13, 'char_start': 365, 'char_end': 405, 'line': '\terr = crypto_ahash_export(req, state);\n'}, {'line_no': 24, 'char_start': 563, 'char_end': 580, 'line': '\tctx2->more = 1;\n'}], 'added': [{'line_no': 11, 'char_start': 354, 'char_end': 366, 'line': '\tbool more;\n'}, {'line_no': 14, 'char_star...
{'deleted': [{'char_start': 577, 'char_end': 578, 'chars': '1'}], 'added': [{'char_start': 355, 'char_end': 367, 'chars': 'bool more;\n\t'}, {'char_start': 378, 'char_end': 413, 'chars': 'lock_sock(sk);\n\tmore = ctx->more;\n\t'}, {'char_start': 418, 'char_end': 425, 'chars': ' more ?'}, {'char_start': 457, 'char_end':...
github.com/torvalds/linux/commit/4afa5f9617927453ac04b24b584f6c718dfb4f45
crypto/algif_hash.c
cwe-476
215
cwe-125
ape_decode_frame
static int ape_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) { AVFrame *frame = data; const uint8_t *buf = avpkt->data; APEContext *s = avctx->priv_data; uint8_t *sample8; int16_t *sample16; int32_t *sample24; int i, ch, ...
static int ape_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) { AVFrame *frame = data; const uint8_t *buf = avpkt->data; APEContext *s = avctx->priv_data; uint8_t *sample8; int16_t *sample16; int32_t *sample24; int i, ch, ...
{'deleted': [{'line_no': 67, 'char_start': 2347, 'char_end': 2392, 'line': ' if (!nblocks || nblocks > INT_MAX) {\n'}, {'line_no': 93, 'char_start': 3163, 'char_end': 3220, 'line': ' av_fast_malloc(&s->decoded_buffer, &s->decoded_size,\n'}, {'line_no': 94, 'char_start': 3220, 'char_end': 3301, 'line': ' ...
{'deleted': [{'char_start': 3167, 'char_end': 3186, 'chars': 'av_fast_malloc(&s->'}, {'char_start': 3200, 'char_end': 3213, 'chars': ', &s->decoded'}, {'char_start': 3218, 'char_end': 3231, 'chars': ',\n '}, {'char_start': 3232, 'char_end': 3238, 'chars': ' '}], 'added': [{'char_start': 349, 'char_end': ...
github.com/FFmpeg/FFmpeg/commit/ba4beaf6149f7241c8bd85fe853318c2f6837ad0
libavcodec/apedec.c
cwe-125
1,396
cwe-078
test_create_host
def test_create_host(self): self.flags(lock_path=self.tempdir) #record self.clear_mox() self.stubs.Set(hpfcdriver.hpcommon.HP3PARCommon, "get_cpg", self.fake_get_cpg) self.stubs.Set(hpfcdriver.hpcommon.HP3PARCommon, "get_domain", ...
def test_create_host(self): self.flags(lock_path=self.tempdir) #record self.clear_mox() self.stubs.Set(hpfcdriver.hpcommon.HP3PARCommon, "get_cpg", self.fake_get_cpg) self.stubs.Set(hpfcdriver.hpcommon.HP3PARCommon, "get_domain", ...
{'deleted': [{'line_no': 13, 'char_start': 501, 'char_end': 554, 'line': " show_host_cmd = 'showhost -verbose fakehost'\n"}, {'line_no': 16, 'char_start': 635, 'char_end': 712, 'line': " create_host_cmd = ('createhost -persona 1 -domain (\\'OpenStack\\',) '\n"}, {'line_no': 17, 'char_start': 712, 'char_en...
{'deleted': [{'char_start': 692, 'char_end': 706, 'chars': " (\\'OpenStack\\"}, {'char_start': 708, 'char_end': 711, 'chars': ") '"}], 'added': [{'char_start': 525, 'char_end': 526, 'chars': '['}, {'char_start': 535, 'char_end': 537, 'chars': "',"}, {'char_start': 538, 'char_end': 539, 'chars': "'"}, {'char_start': 547...
github.com/thatsdone/cinder/commit/c55589b131828f3a595903f6796cb2d0babb772f
cinder/tests/test_hp3par.py
cwe-078
295
cwe-079
handle_file
def handle_file(u: Profile, headline: str, category: str, text: str, file): m: Media = Media() upload_base_path: str = 'uploads/' + str(date.today().year) high_res_file_name = upload_base_path + '/HIGHRES_' + ntpath.basename(file.name.replace(" ", "_")) low_res_file_name = upload_base_path + '/LOWRES_' ...
def handle_file(u: Profile, headline: str, category: str, text: str, file): m: Media = Media() upload_base_path: str = 'uploads/' + str(date.today().year) high_res_file_name = upload_base_path + '/HIGHRES_' + ntpath.basename(file.name.replace(" ", "_")) low_res_file_name = upload_base_path + '/LOWRES_' ...
{'deleted': [{'line_no': 21, 'char_start': 1021, 'char_end': 1039, 'line': ' m.text = text\n'}, {'line_no': 22, 'char_start': 1039, 'char_end': 1081, 'line': ' m.cachedText = compile_markdown(text)\n'}, {'line_no': 23, 'char_start': 1081, 'char_end': 1107, 'line': ' m.category = category\n'}, {'line_no': 26, '...
{'deleted': [], 'added': [{'char_start': 1034, 'char_end': 1041, 'chars': 'escape('}, {'char_start': 1045, 'char_end': 1046, 'chars': ')'}, {'char_start': 1083, 'char_end': 1090, 'chars': 'escape('}, {'char_start': 1094, 'char_end': 1095, 'chars': ')'}, {'char_start': 1114, 'char_end': 1121, 'chars': 'escape('}, {'char...
github.com/Technikradio/C3FOCSite/commit/6e330d4d44bbfdfce9993dffea97008276771600
c3shop/frontpage/management/mediatools/media_actions.py
cwe-079
363
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
50