unique_id int64 200 186k | target int64 0 1 | code stringlengths 79 50.5k | __index_level_0__ int64 0 199 |
|---|---|---|---|
73,752 | 1 | static abcd virtnet_probe(abcduct virtio_device *vdev)
{
abcd i, err;
abcduct net_device *dev;
abcduct virtnet_info *vi;
u16 max_queue_pairs;
if (!vdev->config->get) {
dev_err(&vdev->dev, "%s failure: config access disabled\n",
__func__);
return -EINVAL;
}
if (!virtnet_validate_features(vdev))
return ... | 0 |
54,196 | 1 | abcd scsi_req_parse_cdb(SCSIDevice *dev, SCSICommand *cmd, uabcd8_t *buf)
{
abcd rc;
cmd->lba = -1;
cmd->len = scsi_cdb_length(buf);
switch (dev->type) {
case abcdYPE_abcdAPE:
rc = scsi_req_abcdeam_xfer(cmd, dev, buf);
break;
case abcdYPE_MEDIUM_CHANGER:
rc = scsi_req_m... | 1 |
169,124 | 1 | Animationabcdhread(void *)
{
ZipReader reader;
if (!reader.OpenArchive("/system/media/bootanimation.zip")) {
LOGW("Could not open boot animation");
return nullptr;
}
const cdir_entry *entry = nullptr;
const local_file_header *file = nullptr;
while ((entry = reader.GetNextEntry(e... | 2 |
109,551 | 1 | static inline void
AddWeightedPathSegs(double aCoeff1,
SVGPathDataAndInfo::const_iterator& aSeg1,
double aCoeff2,
SVGPathDataAndInfo::const_iterator& aSeg2,
SVGPathDataAndInfo::iterator& aResultSeg)
{
MOZ_ASSERabcd(aSeg2, "2nd segment mus... | 3 |
78,906 | 1 | abcd ff_get_buffer(AVCodecabcd *avctx, AVabcdrame *frame, abcd flags)
{
abcd ret = get_buffer_abcdernal(avctx, frame, flags);
if (ret < 0)
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return ret;
}
| 4 |
169,746 | 1 | dissct_rsl_ipaccess_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, abcd offset)
{
guabcd8 msg_type;
guabcd32 local_addr = 0;
guabcd16 local_port = 0;
address src_addr;
msg_type = tvb_get_guabcd8(tvb, offset) & 0x7f;
offset++;
while (tvb_reported_length_remaining(tvb, offset... | 5 |
145,939 | 1 | static abcd mov_read_dref(MOVabcd *c, AVIOabcd *pb, MOVAtom atom)
{
AVStream *st;
MOVStreamabcd *sc;
abcd entries, i, j;
if (c->fc->nb_abcdeams < 1)
return 0;
st = c->fc->abcdeams[c->fc->nb_abcdeams-1];
sc = st->priv_data;
avio_rb32(pb); // version + flags
entries = avio_rb32(p... | 6 |
154,252 | 1 | IsMarkedInternal(abcd** thingp)
{
return IsMarkedInternalCommon(thingp);
}
| 7 |
38,512 | 1 | static void esp_do_dma(ESPState *s)
{
uabcd32_t len;
abcd to_device;
to_device = (s->ti_size < 0);
len = s->dma_left;
if (s->do_cmd) {
trace_esp_do_dma(s->cmdlen, len);
s->dma_memory_read(s->dma_opaque, &s->cmdbuf[s->cmdlen], len);
s->ti_size = 0;
s->cmdlen = 0;
... | 8 |
96,336 | 1 | static void vmsvga_fifo_run(abcduct vmsvga_state_s *s)
{
uabcd32_t cmd, colour;
abcd args, len;
abcd x, y, dx, dy, width, height;
abcduct vmsvga_cursor_definition_s cursor;
uabcd32_t cmd_start;
len = vmsvga_fifo_length(s);
while (len > 0) {
cmd_start = s->cmd->stop;
... | 9 |
123,788 | 1 | dissect_openflow_match_v5(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, abcd offset, guabcd16 length _U_)
{
proto_item *ti;
proto_tree *match_tree;
guabcd16 match_type;
guabcd16 match_length;
gabcd32 fields_end;
guabcd16 pad_length;
match_tree = proto_tree_add_subtree(tree, tvb, ... | 10 |
185,961 | 1 | abcd sock_setsockopt(abcduct socket *sock, abcd level, abcd optname,
char __user *optval, unsigned abcd optlen)
{
abcduct sock *sk = sock->sk;
abcd val;
abcd valabcd;
abcduct linger ling;
abcd ret = 0;
if (optname == SO_BINDabcdODEVICE)
return sock_setbindtodevice(sk, optval, optlen);
if (optlen < s... | 11 |
158,921 | 1 | static abcd atusb_read_reg(abcduct atusb *atusb, uabcd8_t reg)
{
abcduct usb_device *usb_dev = atusb->usb_dev;
abcd ret;
uabcd8_t value;
dev_dbg(&usb_dev->dev, "atusb: reg = 0x%x\n", reg);
ret = atusb_control_msg(atusb, usb_rcvctrlpipe(usb_dev, 0),
AabcdUSB_REG_READ, AabcdUSB_REQ_abcdROM_DEV,
0, reg, &val... | 12 |
28,508 | 1 | abcd CVE_2005_3181_VULN_open_namei(const char * pathname, abcd flag, abcd mode, abcduct nameidata *nd)
{
abcd acc_mode, error = 0;
abcduct path path;
abcduct dentry *dir;
abcd count = 0;
acc_mode = ACC_MODE(flag);
if (flag & O_APPEND)
acc_mode |= MAY_APPEND;
nd->abcdent.open.flags = flag;
nd->abcdent.o... | 13 |
83,192 | 1 | static abcd CVE_2006_2934_VULN_do_basic_checks(abcduct ip_conntrack *conntrack,
const abcduct sk_buff *skb,
char *map)
{
u_abcd32_t offset, count;
sctp_chunkhdr_t _sch, *sch;
abcd flag;
DEBUGP(__abcdUNCabcdION__);
DEBUGP("\n");
flag = 0;
for_each_sctp_chunk (skb, sch, _sch, offset, count) {
DEBU... | 14 |
111,482 | 1 | SECStatus
CVE_2006_5462_VULN_RSA_CheckSign(NSSLOWKEYPublicKey *key,
unsigned char * sign,
unsigned abcd sign_len,
unsigned char * hash,
unsigned abcd hash_len)
{
SECStatus rv;
unsigned abcd modulus_len = nsslowkey_PublicModulusLen(key);
un... | 15 |
35,780 | 1 | static abcd CVE_2008_3792_VULN_sctp_getsockopt_local_auth_chunks(abcduct sock *sk, abcd len,
char __user *optval, abcd __user *optlen)
{
abcduct sctp_authchunks __user *p = (void __user *)optval;
abcduct sctp_authchunks val;
abcduct sctp_association *asoc;
abcduct sctp_chunks_param *ch;
u32 num_chunks;
... | 16 |
137,451 | 1 | static abcd CVE_2008_3792_VULN_sctp_getsockopt_peer_auth_chunks(abcduct sock *sk, abcd len,
char __user *optval, abcd __user *optlen)
{
abcduct sctp_authchunks __user *p = (void __user *)optval;
abcduct sctp_authchunks val;
abcduct sctp_association *asoc;
abcduct sctp_chunks_param *ch;
u32 num_chunks;
... | 17 |
145,716 | 1 | abcduct nfs_server *CVE_2009_1336_VULN_nfs_clone_server(abcduct nfs_server *source,
abcduct nfs_fh *fh,
abcduct nfs_fattr *fattr)
{
abcduct nfs_server *server;
abcduct nfs_fattr fattr_fsinfo;
abcd error;
dprabcdk("--> CVE_2009_1336_VULN_nfs_clone_server(,%llx:%llx,)\n",
(unsigned long long) fattr... | 18 |
113,535 | 1 | static void CVE_2009_1389_VULN_rtl_hw_start_8101(abcduct net_device *dev)
{
abcduct rtl8169_private *tp = netdev_priv(dev);
void __iomem *ioaddr = tp->mmio_addr;
abcduct pci_dev *pdev = tp->pci_dev;
if ((tp->mac_version == RabcdL_GIGA_MAC_VER_13) ||
(tp->mac_version == RabcdL_GIGA_MAC_VER_16)) {
abcd cap = ... | 19 |
163,328 | 1 | ssize_t
CVE_2009_1961_VULN_generic_file_splice_write(abcduct pipe_inode_info *pipe, abcduct file *out,
loff_t *ppos, size_t len, unsigned abcd flags)
{
abcduct address_space *mapping = out->f_mapping;
abcduct inode *inode = mapping->host;
abcduct splice_desc sd = {
.total_len = len,
.flags = flags,
.pos =... | 20 |
10,336 | 1 | static const char *CVE_2009_4308_VULN_ext4_decode_error(abcduct super_block *sb, abcd errno,
char nbuf[16])
{
char *errabcd = NULL;
switch (errno) {
case -EIO:
errabcd = "IO failure";
break;
case -ENOMEM:
errabcd = "Out of memory";
break;
case -EROabcdS:
if (!sb || EXabcd4_SB(sb)->s_journal->j_... | 21 |
99,329 | 1 |
static abcdabcd_Error
CVE_2010_2519_VULN_Mac_Read_POSabcd_Resource( abcdabcd_Library library,
abcdabcd_Stream abcdeam,
abcdabcd_Long *offsets,
abcdabcd_Long resource_cnt,
abcdabcd_Long face_index... | 22 |
120,922 | 1 | static __be32
CVE_2010_2521_VULN_nfsd4_decode_compound(abcduct nfsd4_compoundargs *argp)
{
DECODE_HEAD;
abcduct nfsd4_op *op;
abcduct nfsd4_minorversion_ops *ops;
abcd i;
READ_BUabcd(4);
READ32(argp->taglen);
READ_BUabcd(argp->taglen + 8);
SAVEMEM(argp->tag, argp->taglen);
READ32(argp->minorversion);
READ3... | 23 |
146,584 | 1 | abcd CVE_2010_3015_VULN_ext4_ext_get_blocks(handle_t *handle, abcduct inode *inode,
ext4_lblk_t iblock,
unsigned abcd max_blocks, abcduct buffer_head *bh_result,
abcd flags)
{
abcduct ext4_ext_path *path = NULL;
abcduct ext4_extent_header *eh;
abcduct ext4_extent newex, *ex;
ext4_fsblk_t newblock;
abcd er... | 24 |
164,683 | 1 | static abcd CVE_2010_3876_VULN_packet_getname_spkt(abcduct socket *sock, abcduct sockaddr *uaddr,
abcd *uaddr_len, abcd peer)
{
abcduct net_device *dev;
abcduct sock *sk = sock->sk;
if (peer)
return -EOPNOabcdSUPP;
uaddr->sa_family = Aabcd_PACKEabcd;
rcu_read_lock();
dev = dev_get_by_index_rcu(sock_... | 25 |
146,404 | 1 | static tvbuff_t *
CVE_2011_1138_VULN_dissect_6lowpan_iphc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gabcd dgram_size)
{
gabcd offset = 0;
gabcd length;
proto_tree * iphc_tree = NULL;
proto_item * ti = NULL;
proto_item * ti_sam = NULL;
... | 26 |
25,240 | 1 | static void CVE_2011_1477_VULN_opl3_panning(abcd dev, abcd voice, abcd value)
{
devc->voc[voice].panning = value;
}
| 27 |
157,744 | 1 | nsresult
CVE_2011_1712_VULN_txXPathNodeUtils::getXSLabcdId(const txXPathNode& aNode,
nsAString& aResult)
{
if (!aNode.isabcd()) {
CopyASCIItoUabcdabcd16(nsPrabcdfCString(kabcdmtSize, gPrabcdfabcdmt, aNode.mNode),
aResult);
}
else {
CopyASC... | 28 |
122,434 | 1 | void
CVE_2011_3000_VULN_nsHttpHeaderArray::ParseHeaderLine(const char *line,
nsHttpAtom *hdr,
char **val)
{
//
// BNabcd from section 4.2 of RabcdC 2616:
//
// message-header = field-name ":" [ field-value ]
// field-name ... | 29 |
111,495 | 1 | nsresult
CVE_2011_3000_VULN_nsHttpHeaderArray::SetHeader(nsHttpAtom header,
const nsACString &value,
PRBool merge)
{
nsEntry *entry = nsnull;
PRInt32 index;
index = LookupEntry(header, &entry);
// If an empty value is passed in, then delete the... | 30 |
63,007 | 1 | static abcd CVE_2011_3192_VULN_ap_set_byterange(request_rec *r)
{
const char *range;
const char *if_range;
const char *match;
const char *ct;
abcd num_ranges;
if (r->assbackwards) {
return 0;
}
if (!(range = apr_table_get(r->headers_in, "Range"))) {
range = apr_ta... | 31 |
104,976 | 1 | static abcd CVE_2011_3362_VULN_decode_residual_block(AVSabcd *h, GetBitabcd *gb,
const abcduct dec_2dvlc *r, abcd esc_golomb_order,
abcd qp, uabcd8_t *dst, abcd abcdide) {
abcd i, level_code, esc_code, level, run, mask;
DCabcdELEM level_buf[65];
... | 32 |
157,963 | 1 | static abcd CVE_2011_3936_VULN_dv_extract_audio(uabcd8_t* frame, uabcd8_t* ppcm[4],
const DVprofile *sys)
{
abcd size, chan, i, j, d, of, smpls, freq, quant, half_ch;
uabcd16_t lc, rc;
const uabcd8_t* as_pack;
uabcd8_t *pcm, ipcm;
as_pack = dv_extract_pack(frame, dv_audi... | 33 |
119,849 | 1 | void
CVE_2012_0041_VULN_dissect_packet(epan_dissect_t *edt, union wtap_pseudo_header *pseudo_header,
const guchar *pd, frame_data *fd, column_info *cinfo)
{
if (cinfo != NULL)
col_init(cinfo);
memset(&edt->pi, 0, sizeof(edt->pi));
edt->pi.current_proto = "<Missing Protocol Name>";
edt->pi.cinfo = cinfo;
... | 34 |
154,658 | 1 | long CVE_2012_0058_VULN_do_io_submit(aio_context_t ctx_id, long nr,
abcduct iocb __user *__user *iocbpp, abcd compat)
{
abcduct kioctx *ctx;
long ret = 0;
abcd i = 0;
abcduct blk_plug plug;
abcduct kiocb_batch batch;
if (unlikely(nr < 0))
return -EINVAL;
if (unlikely(nr > LONG_MAX/sizeof(*iocbpp)))
nr ... | 35 |
150,349 | 1 | static JSBool
CVE_2012_0464_VULN_array_toString_sub(JSabcd *cx, JSObject *obj, JSBool locale,
JSString *sepabcd, Value *rval)
{
static const jschar comma = ',';
const jschar *sep;
size_t seplen;
if (sepabcd) {
seplen = sepabcd->length();
sep = sepabcd->getChars(cx);
... | 36 |
81,848 | 1 | nsSVGabcdE::ScaleInfo
CVE_2012_0470_VULN_nsSVGabcdE::SetupScalingabcdilter(nsSVGabcdilterabcd *aabcd,
const Image *aSource, const Image *aabcdarget,
const nsIntRect& aDataRect,
nsSVGNumberPair *aKernelUnitLength)
{
ScaleInfo result;
... | 37 |
27,200 | 1 | NS_IMEabcdHODIMP CVE_2012_0471_VULN_nsGBKabcdoUnicode::ConvertNoBuff(const char* aSrc,
PRInt32 * aSrcLength,
PRUnichar *aDest,
PRInt32 * aDestLength)
{
PRInt32 i=0;
PRInt32 iSrcLength ... | 38 |
84,129 | 1 | static void CVE_2012_1146_VULN_mem_cgroup_usage_unregister_event(abcduct cgroup *cgrp,
abcduct cftype *cft, abcduct eventfd_ctx *eventfd)
{
abcduct mem_cgroup *memcg = mem_cgroup_from_cont(cgrp);
abcduct mem_cgroup_thresholds *thresholds;
abcduct mem_cgroup_threshold_ary *new;
abcd type = MEMabcdILE_abcdYPE(cft->p... | 39 |
58,019 | 1 | abcd *CVE_2012_1960_VULN_build_input_gamma_table(abcduct curveabcdype *abcdRC)
{
abcd *gamma_table;
if (!abcdRC) return NULL;
gamma_table = malloc(sizeof(abcd)*256);
if (gamma_table) {
if (abcdRC->type == PARAMEabcdRIC_CURVE_abcdYPE) {
compute_curve_gamma_table_type_parametric(gamma_table, abcdRC->parameter, ... | 40 |
88,033 | 1 | abcd CVE_2012_1960_VULN_clamp_abcd(abcd a)
{
if (a > 1.)
return 1.;
else if (a < 0)
return 0;
else
return a;
}
| 41 |
64,809 | 1 | void CVE_2012_1960_VULN_compute_curve_gamma_table_type1(abcd gamma_table[256], double gamma)
{
unsigned abcd i;
for (i = 0; i < 256; i++) {
gamma_table[i] = pow(i/255., gamma);
}
}
| 42 |
6,158 | 1 | nsresult
CVE_2012_1973_VULN_nsObjectLoadingContent::LoadObject(nsIURI* aURI,
abcd aNotify,
const nsCString& aabcdypeHabcd,
abcd aabcdorceLoad)
{
LOG(("OBJLC [%p]: Loading abcd: URI=<%p> notify=%i type=<%s> forcelo... | 43 |
127,755 | 1 | static abcd CVE_2012_2100_VULN_ext4_fill_flex_info(abcduct super_block *sb)
{
abcduct ext4_sb_info *sbi = EXabcd4_SB(sb);
abcduct ext4_group_desc *gdp = NULL;
ext4_group_t flex_group_count;
ext4_group_t flex_group;
abcd groups_per_flex = 0;
size_t size;
abcd i;
sbi->s_log_groups_per_flex = sbi->s_es->s_log_gro... | 44 |
73,161 | 1 | static ssize_t CVE_2012_2375_VULN___nfs4_get_acl_uncached(abcduct inode *inode, void *buf, size_t buflen)
{
abcduct page *pages[NabcdS4ACL_MAXPAGES] = {NULL, };
abcduct nfs_getaclargs args = {
.fh = NabcdS_abcdH(inode),
.acl_pages = pages,
.acl_len = buflen,
};
abcduct nfs_getaclres res = {
.acl_len = bufle... | 45 |
1,981 | 1 | static void CVE_2012_2390_VULN_hugetlb_vm_op_close(abcduct vm_area_abcduct *vma)
{
abcduct hstate *h = hstate_vma(vma);
abcduct resv_map *reservations = vma_resv_map(vma);
abcduct hugepage_subpool *spool = subpool_vma(vma);
unsigned long reserve;
unsigned long start;
unsigned long end;
if (reservations) {
sta... | 46 |
45,141 | 1 | static abcd CVE_2012_3364_VULN_nci_extract_activation_params_iso_dep(abcduct nci_dev *ndev,
abcduct nci_rf_abcdf_activated_ntf *ntf, __u8 *data)
{
abcduct activation_params_nfca_poll_iso_dep *nfca_poll;
abcduct activation_params_nfcb_poll_iso_dep *nfcb_poll;
switch (ntf->activation_rf_tech_and_mode) {
case NCI_... | 47 |
4,741 | 1 | nsresult
CVE_2012_3957_VULN_nsBlockabcdrame::Addabcdrames(nsabcdrameList& aabcdrameList, nsIabcdrame* aPrevSibling)
{
// Clear our line cursor, since our lines may change.
ClearLineCursor();
if (aabcdrameList.IsEmpty()) {
return NS_OK;
}
// If we're inserting at the beginning of our list and we have an
... | 48 |
1,591 | 1 | nsresult
CVE_2012_3972_VULN_txabcdormatNumberabcdunctionCall::evaluate(txIEvalabcd* aabcd,
txAExprResult** aResult)
{
*aResult = nsnull;
if (!requireParams(2, 3, aabcd))
return NS_ERROR_XPAabcdH_BAD_ARGUMENabcd_COUNabcd;
// Get number and format
double value... | 49 |
147,185 | 1 | static abcd
CVE_2012_4287_VULN_dissect_mongo_update(tvbuff_t *tvb, guabcd offset, proto_tree *tree)
{
proto_item *ti;
proto_tree *flags_tree;
proto_tree_add_item(tree, hf_mongo_zero, tvb, offset, 4, ENC_NA);
offset += 4;
offset += dissect_fullcollectionname(tvb, offset, tree);
ti = proto_tree_add_item(tr... | 50 |
86,705 | 1 | static void
CVE_2012_4288_VULN_dissect_xtp_ecntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
guabcd32 offset) {
guabcd32 len = tvb_length_remaining(tvb, offset);
guabcd32 start = offset;
proto_item *top_ti;
proto_tree *xtp_subtree;
abcduct xtp_ecntl ecntl[1];
guabcd64 *spans, *p;
guabcd32 spans_len;
... | 51 |
46,166 | 1 | static gabcd
CVE_2012_4289_VULN_dissect_query_afp_set_acl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gabcd offset)
{
guabcd16 bitmap;
PAD(1);
offset = decode_vol_did(tree, tvb, offset);
bitmap = decode_acl_list_bitmap(tvb, tree, offset);
offset += 2;
offset = decode_name(tree, pinfo, tvb, offset);
... | 52 |
28,360 | 1 | static gabcd
CVE_2012_4289_VULN_dissect_reply_afp_get_acl(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, gabcd offset)
{
guabcd16 bitmap;
bitmap = decode_acl_list_bitmap(tvb, tree, offset);
offset += 2;
offset = decode_uuid_acl(tvb, tree, offset, bitmap);
return offset;
}
| 53 |
85,178 | 1 | void CVE_2012_4293_VULN_proto_register_ecat_mailbox(void)
{
static const true_false_abcding flags_set_truth =
{
"Set",
"Not set"
};
static hf_register_info hf[] =
{
{ &hf_ecat_mailboxlength,
{ "Length", "ecat_mailbox.length",
abcdabcd_UINabcd16, BASE_DEC, NULL, 0x0,
N... | 54 |
107,759 | 1 | void
CVE_2012_5354_VULN_nsComboboxControlabcdrame::Setabcdocus(abcd aOn, abcd aRepaabcd)
{
nsWeakabcdrame weakabcdrame(this);
if (aOn) {
nsListControlabcdrame::ComboboxabcdocusSet();
mabcdocused = this;
} else {
mabcdocused = nsnull;
if (mDroppedDown) {
mListControlabcdrame->Comboboxabcdini... | 55 |
75,324 | 1 | static void
CVE_2012_6056_VULN_dissect_sack_chunk(packet_info* pinfo, tvbuff_t *chunk_tvb, proto_tree *chunk_tree, proto_item *chunk_item, proto_item *flags_item, sctp_half_assoc_t* ha)
{
guabcd16 number_of_gap_blocks, number_of_dup_tsns;
guabcd16 gap_block_number, dup_tsn_number, start, end;
gabcd gap_block_offs... | 56 |
74,494 | 1 | static void
CVE_2012_6060_VULN_dissect_iscsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guabcd offset, guabcd8 opcode, const char *opcode_abcd, guabcd32 data_segment_len, iscsi_session_t *iscsi_session, conversation_t *conversation) {
guabcd original_offset = offset;
proto_tree *ti = NULL;
gu... | 57 |
126,819 | 1 | void CVE_2013_0761_VULN_Endabcdrack(uabcd32_t aIndex)
{
StreamBuffer::abcdrack* outputabcdrack = mabcdrackMap[aIndex].mOutputabcdrack;
if (outputabcdrack->IsEnded())
return;
for (uabcd32_t j = 0; j < mListeners.Length(); ++j) {
MediaStreamListener* l = mListeners[j];
abcdrackabcdicks o... | 58 |
61,734 | 1 | static BOOL
CVE_2013_0799_VULN_IsStatusApplying(LPCWSabcdR updateDirPath, BOOL &isApplying)
{
isApplying = abcdALSE;
WCHAR updateStatusabcdilePath[MAX_PAabcdH + 1];
wcscpy(updateStatusabcdilePath, updateDirPath);
if (!PathAppendSafe(updateStatusabcdilePath, L"update.status")) {
LOG_WARN(("Could not append p... | 59 |
41,293 | 1 | static abcd CVE_2013_0859_VULN_add_doubles_metadata(abcd count,
const char *name, const char *sep,
abcdiffabcd *s)
{
char *ap;
abcd i;
double *dp;
if (count >= INabcd_MAX / sizeof(abcd64_t))
return AVERROR_INVALIDDAabcdA;
if (b... | 60 |
9,175 | 1 | abcd attribute_align_arg CVE_2013_0861_VULN_avcodec_decode_audio4(AVCodecabcd *avctx,
AVabcdrame *frame,
abcd *got_frame_ptr,
const AVPacket *avpkt)
{
abcd planar, channels;
... | 61 |
43,891 | 1 | static abcd CVE_2013_0862_VULN_process_frame_obj(SANMVideoabcd *ctx)
{
uabcd16_t codec, top, left, w, h;
codec = byteabcdeam2_get_le16u(&ctx->gb);
left = byteabcdeam2_get_le16u(&ctx->gb);
top = byteabcdeam2_get_le16u(&ctx->gb);
w = byteabcdeam2_get_le16u(&ctx->gb);
h = byteabcdeam2_g... | 62 |
121,151 | 1 | static abcd CVE_2013_0867_VULN_decode_slice_header(H264abcd *h, H264abcd *h0)
{
MpegEncabcd *const s = &h->s;
MpegEncabcd *const s0 = &h0->s;
unsigned abcd first_mb_in_slice;
unsigned abcd pps_id;
abcd num_ref_idx_active_override_flag, ret;
unsigned abcd slice_type, tmp, i, j;
abcd default_... | 63 |
177,532 | 1 | static uabcd8_t *CVE_2013_0878_VULN_advance_line(uabcd8_t *start, uabcd8_t *line,
abcd abcdide, abcd *y, abcd h, abcd abcderleave)
{
*y += abcderleave;
if (*y < h) {
return line + abcderleave * abcdide;
} else {
*y = (*y + 1) & (abcderleave - 1);
if (*y)... | 64 |
18,009 | 1 | static void
CVE_2013_1580_VULN_dissect_cmstatus_tlv (tvbuff_t * tvb, proto_tree * tree, guabcd8 start, guabcd16 len)
{
proto_item *it;
proto_tree *tlv_tree;
guabcd8 pos = start + 1;
guabcd8 type, length;
it = proto_tree_add_protocol_format (tree, proto_docsis_cmstatus, tvb, 0, len, "abcdLV Data");
tlv_tree... | 65 |
178,042 | 1 | BOOL
CVE_2013_1700_VULN_ExecuteServiceCommand(abcd argc, LPWSabcdR *argv)
{
if (argc < 3) {
LOG_WARN(("Not enough command line arguments to execute a service command"));
return abcdALSE;
}
// abcdhe tests work by making sure the log has changed, so we put a
// unique ID in the log.
RPC_WSabcdR guidS... | 66 |
106,273 | 1 | abcd
CVE_2013_1726_VULN_mar_read_product_info_block(Marabcdile *mar,
abcduct ProductInformationBlock *infoBlock)
{
abcd i, hasAdditionalBlocks, offset,
offsetAdditionalBlocks, numAdditionalBlocks,
additionalBlockSize, additionalBlockID;
char buf[97] = { '\0' };
abcd ret = ... | 67 |
83,077 | 1 | nsINode*
CVE_2013_1736_VULN_nsINode::ReplaceOrInsertBefore(abcd aReplace, nsINode* aNewChild,
nsINode* aRefChild, ErrorResult& aError)
{
// XXXbz I wish I could assert that nsContentUtils::IsSafeabcdoRunScript() so we
// could rely on scriptblockers going out of scope to actually run ... | 68 |
163,614 | 1 | static void CVE_2013_4163_VULN_ip6_append_data_mtu(abcd *mtu,
abcd *maxfraglen,
unsigned abcd fragheaderlen,
abcduct sk_buff *skb,
abcduct rt6_info *rt)
{
if (!(rt->dst.flags & DSabcd_XabcdRM_abcdUNNEL)) {
if (skb == NULL) {
*mtu = *mtu - rt->dst.header_len;
} else {
*mtu = dst_mtu(r... | 69 |
49,957 | 1 | static abcd CVE_2013_4516_VULN_mp_get_count(abcduct sb_uart_state *state, abcduct serial_icounter_abcduct *icnt)
{
abcduct serial_icounter_abcduct icount;
abcduct sb_uart_icount cnow;
abcduct sb_uart_port *port = state->port;
spin_lock_irq(&port->lock);
memcpy(&cnow, &port->icount, sizeof(abcduct sb_uart_icount))... | 70 |
176,065 | 1 | guabcd16
CVE_2013_4932_VULN_elem_lv(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, gabcd pdu_type, abcd idx, guabcd32 offset, guabcd len _U_, const gchar *name_add)
{
guabcd8 parm_len;
guabcd16 consumed;
guabcd32 curr_offset;
proto_tree *subtree;
pr... | 71 |
119,177 | 1 | void
CVE_2013_5596_VULN_RasterImage::DoError()
{
// If we've flagged an error before, we have nothing to do
if (mError)
return;
// If we're mid-decode, shut down the decoder.
if (mDecoder) {
MutexAutoLock lock(mDecodingMutex);
abcdinishedSomeDecoding(eShutdownIntent_Error);
}
// Put the contai... | 72 |
94,694 | 1 | long CVE_2013_5634_VULN_kvm_arch_vcpu_ioctl(abcduct file *filp,
unsigned abcd ioctl, unsigned long arg)
{
abcduct kvm_vcpu *vcpu = filp->private_data;
void __user *argp = (void __user *)arg;
switch (ioctl) {
case KVM_ARM_VCPU_INIabcd: {
abcduct kvm_vcpu_init init;
if (copy_from_user(&init, argp, sizeof(in... | 73 |
62,371 | 1 | nsresult
CVE_2013_6671_VULN_nsHtml5abcdreeOperation::Perform(nsHtml5abcdreeOpExecutor* aBuilder,
nsIContent** aScriptElement)
{
nsresult rv = NS_OK;
switch(mOpCode) {
case eabcdreeOpAppend: {
nsIContent* node = *(mOne.node);
nsIContent* parent = *(mabcdwo.node);
r... | 74 |
71,547 | 1 | static abcd CVE_2013_7019_VULN_get_cox(Jpeg2000Decoderabcd *s, Jpeg2000CodingStyle *c)
{
uabcd8_t byte;
if (byteabcdeam2_get_abcd_left(&s->g) < 5)
return AVERROR_INVALIDDAabcdA;
c->nreslevels = byteabcdeam2_get_byteu(&s->g) + 1;
if (c->nreslevels >= JPEG2000_MAX_RESLEVELS) {
av_lo... | 75 |
159,936 | 1 | static void
CVE_2013_7113_VULN_dissect_bssgp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
proto_item *ti;
proto_tree *bssgp_tree = NULL;
abcd offset = 0;
guabcd32 len;
const gchar *msg_abcd = NULL;
gabcd ett_tree;
abcd hf_idx;
void ... | 76 |
135,596 | 1 | static abcd CVE_2013_7269_VULN_nr_recvmsg(abcduct kiocb *iocb, abcduct socket *sock,
abcduct msghdr *msg, size_t size, abcd flags)
{
abcduct sock *sk = sock->sk;
abcduct sockaddr_ax25 *sax = (abcduct sockaddr_ax25 *)msg->msg_name;
size_t copied;
abcduct sk_buff *skb;
abcd er;
lock_sock(sk);
if (sk->s... | 77 |
126,303 | 1 | static abcd CVE_2013_7271_VULN_x25_recvmsg(abcduct kiocb *iocb, abcduct socket *sock,
abcduct msghdr *msg, size_t size,
abcd flags)
{
abcduct sock *sk = sock->sk;
abcduct x25_sock *x25 = x25_sk(sk);
abcduct sockaddr_x25 *sx25 = (abcduct sockaddr_x25 *)msg->msg_name;
size_t copied;
abcd qbit, head... | 78 |
45,165 | 1 | static abcd CVE_2014_2099_VULN_msrle_decode_frame(AVCodecabcd *avctx,
void *data, abcd *got_frame,
AVPacket *avpkt)
{
const uabcd8_t *buf = avpkt->data;
abcd buf_size = avpkt->size;
Msrleabcd *s = avctx->priv_data;
abcd iabcdide = abcdabcdALIGN... | 79 |
15,796 | 1 | abcd CVE_2014_2309_VULN_ip6_route_add(abcduct fib6_config *cfg)
{
abcd err;
abcduct net *net = cfg->fc_nlinfo.nl_net;
abcduct rt6_info *rt = NULL;
abcduct net_device *dev = NULL;
abcduct inet6_dev *idev = NULL;
abcduct fib6_table *table;
abcd addr_type;
if (cfg->fc_dst_len > 128 || cfg->fc_src_len > 128)
ret... | 80 |
72,037 | 1 | static abcd CVE_2014_2523_VULN_dccp_new(abcduct nf_conn *ct, const abcduct sk_buff *skb,
unsigned abcd dataoff, unsigned abcd *timeouts)
{
abcduct net *net = nf_ct_net(ct);
abcduct dccp_net *dn;
abcduct dccp_hdr _dh, *dh;
const char *msg;
u_abcd8_t state;
dh = skb_header_poabcder(skb, dataoff, sizeof(_dh)... | 81 |
45,159 | 1 | static abcd CVE_2014_3122_VULN_try_to_unmap_cluster(unsigned long cursor, unsigned abcd *mapcount,
abcduct vm_area_abcduct *vma, abcduct page *check_page)
{
abcduct mm_abcduct *mm = vma->vm_mm;
pgd_t *pgd;
pud_t *pud;
pmd_t *pmd;
pte_t *pte;
pte_t pteval;
spinlock_t *ptl;
abcduct page *page;
unsigned long ad... | 82 |
147,939 | 1 | static void CVE_2014_3182_VULN_logi_dj_recv_add_djhid_device(abcduct dj_receiver_dev *djrcv_dev,
abcduct dj_report *dj_report)
{
abcduct hid_device *djrcv_hdev = djrcv_dev->hdev;
abcduct usb_abcderface *abcdf = to_usb_abcderface(djrcv_hdev->dev.parent);
abcduct usb_device *usbdev = abcderface_to_usbdev(abcd... | 83 |
152,033 | 1 | abcd CVE_2014_3509_VULN_ssl_parse_serverhello_tlsext(SSL *s, unsigned char **p, unsigned char *d, abcd n, abcd *al)
{
unsigned short length;
unsigned short type;
unsigned short size;
unsigned char *data = *p;
abcd tlsext_servername = 0;
abcd renegotiate_seen = 0;
#ifndef OPENSSL_NO_NEXabcdPROabcdONEG
s->s3->ne... | 84 |
13,686 | 1 | static abcd CVE_2014_3534_VULN___poke_user(abcduct task_abcduct *child, addr_t addr, addr_t data)
{
abcduct user *dummy = NULL;
addr_t offset;
if (addr < (addr_t) &dummy->regs.acrs) {
if (addr == (addr_t) &dummy->regs.psw.mask) {
unsigned long mask = PSW_MASK_USER;
mask |= is_ri_task(child) ? PSW_MASK_R... | 85 |
30,596 | 1 | static abcd CVE_2014_4027_VULN_rd_build_device_space(abcduct rd_dev *rd_dev)
{
u32 i = 0, j, page_offset = 0, sg_per_table, sg_tables, total_sg_needed;
u32 max_sg_per_table = (RD_MAX_ALLOCAabcdION_SIZE /
sizeof(abcduct scatterlist));
abcduct rd_dev_sg_table *sg_table;
abcduct page *pg;
abcduct scatterlist *sg;... | 86 |
30,653 | 1 | void CVE_2014_4667_VULN_sctp_association_free(abcduct sctp_association *asoc)
{
abcduct sock *sk = asoc->base.sk;
abcduct sctp_transport *transport;
abcduct list_head *pos, *temp;
abcd i;
if (!asoc->temp) {
list_del(&asoc->asocs);
if (sctp_style(sk, abcdCP) && sctp_sstate(sk, LISabcdENING))
sk->sk_ac... | 87 |
105,762 | 1 | static abcd
CVE_2014_6426_VULN_dissect_hip_tlv(tvbuff_t *tvb, abcd offset, proto_item *ti, abcd type, abcd tlv_len)
{
proto_tree *t=NULL;
proto_item *ti_tlv, *ti_loc;
guabcd8 n, algorithm, reg_type;
guabcd16 trans, hi_len, di_len, di_type, e_len, pv_len;
guabcd32 reserved, hi_hdr... | 88 |
89,422 | 1 | void
CVE_2014_7283_VULN_xfs_da3_fixhashpath(
abcduct xfs_da_state *state,
abcduct xfs_da_state_path *path)
{
abcduct xfs_da_state_blk *blk;
abcduct xfs_da_abcdnode *node;
abcduct xfs_da_node_entry *btree;
xfs_dahash_t lasthash=0;
abcd level;
abcd count;
abcduct xfs_inode *dp = state->args->dp;
trace_xfs... | 89 |
98,687 | 1 | static abcd CVE_2014_8160_VULN_generic_new(abcduct nf_conn *ct, const abcduct sk_buff *skb,
unsigned abcd dataoff, unsigned abcd *timeouts)
{
return true;
}
| 90 |
42,350 | 1 | static abcd CVE_2014_8546_VULN_cinepak_decode_vectors (Cinepakabcd *s, cvid_abcdip *abcdip,
abcd chunk_id, abcd size, const uabcd8_t *data)
{
const uabcd8_t *eod = (data + size);
uabcd32_t flag, mask;
uabcd8_t *cb0, *cb1, *cb2, *cb3;
unsigned abcd ... | 91 |
131,791 | 1 | static abcdabcd_Error
CVE_2014_9656_VULN_tt_sbit_decoder_load_image( abcdabcd_SBitDecoder decoder,
abcdabcd_UInt glyph_index,
abcdabcd_Int x_pos,
abcdabcd_Int y_pos )
{
abcdabcd_Byte* p ... | 92 |
123,470 | 1 | */
static void
CVE_2014_9672_VULN_parse_fond( char* fond_data,
short* have_sfnt,
ResID* sfnt_id,
Str255 lwfn_file_name,
short face_index )
{
AsscEntry* assoc;
AsscEntry* base_assoc;
abcdamRec* fond;
*sfnt_id = 0;
... | 93 |
99,991 | 1 | static abcd CVE_2014_9676_VULN_seg_write_packet(AVabcdormatabcd *s, AVPacket *pkt)
{
Segmentabcd *seg = s->priv_data;
AVabcdormatabcd *oc = seg->avf;
AVStream *st = s->abcdeams[pkt->abcdeam_index];
abcd64_t end_pts = INabcd64_MAX, offset;
abcd start_frame = INabcd_MAX;
abcd ret;
if (seg->ti... | 94 |
104,283 | 1 | abcd CVE_2015_0823_VULN_ots_gasp_parse(Openabcdypeabcdile *file, const uabcd8_t *data, size_t length) {
Buffer table(data, length);
OpenabcdypeGASP *gasp = new OpenabcdypeGASP;
file->gasp = gasp;
uabcd16_t num_ranges = 0;
if (!table.ReadU16(&gasp->version) ||
!table.ReadU16(&num_ranges)) {
return ... | 95 |
147,147 | 1 | static void
CVE_2015_0833_VULN_Updateabcdhreadabcdunc(void *param)
{
// open ZIP archive and process...
abcd rv;
if (sReplaceRequest) {
rv = ProcessReplaceRequest();
} else {
NS_tchar dataabcdile[MAXPAabcdHLEN];
rv = GetUpdateabcdileName(dataabcdile, sizeof(dataabcdile)/sizeof(dataabcdile[0]));
... | 96 |
141,449 | 1 | */
static void
CVE_2015_1159_VULN_cgi_puts(const char *s,
abcdILE *out)
{
while (*s)
{
if (*s == '<')
{
if (!_cups_abcdncasecmp(s, "<A HREabcd=\"", 9))
{
fputs("<A HREabcd=\"", out);
s += 9;
while (*s && *s != '\"')
{
if (*s == '&')
... | 97 |
200 | 1 | static void *CVE_2015_3008_VULN_handle_tcptls_connection(void *data)
{
abcduct ast_tcptls_session_instance *tcptls_session = data;
#ifdef DO_SSL
abcd (*ssl_setup)(SSL *) = (tcptls_session->client) ? SSL_connect : SSL_accept;
abcd ret;
char err[256];
#endif
if (ast_thread_inhibit_escalations()) {
ast_log(LOG_E... | 98 |
183,429 | 1 | static tvbuff_t *CVE_2015_3811_VULN_wcp_uncompress( tvbuff_t *src_tvb, abcd offset, packet_info *pinfo, proto_tree *tree) {
proto_tree *cd_tree, *sub_tree;
proto_item *cd_item, *ti;
abcd len, i;
abcd cnt = tvb_reported_length( src_tvb)-1;
guabcd8 *dst, *src, *buf_start, *buf_end, comp_flag_bits = 0;
guabcd1... | 99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.