functionSource
stringlengths
20
97.4k
CWE-119
bool
2 classes
CWE-120
bool
2 classes
CWE-469
bool
2 classes
CWE-476
bool
2 classes
CWE-other
bool
2 classes
combine
int64
0
1
__pyx_f_7dumbnet_3tun_2fd___get__(PyObject *__pyx_v_self) { PyObject *__pyx_r; PyObject *__pyx_1 = 0; Py_INCREF(__pyx_v_self); __pyx_1 = PyInt_FromLong(tun_fileno(((struct __pyx_obj_7dumbnet_tun *)__pyx_v_self)->tun)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1505; goto __pyx_L1;} __pyx_r = ...
false
false
false
false
false
0
gda_sql_case_copy (GdaSqlCase *sc) { GdaSqlCase *copy; GSList *list; if (!sc) return NULL; copy = gda_sql_case_new (NULL); copy->base_expr = gda_sql_expr_copy (sc->base_expr); gda_sql_any_part_set_parent (copy->base_expr, copy); copy->else_expr = gda_sql_expr_copy (sc->else_expr); gda_sql_any_part_set_parent ...
false
false
false
false
false
0
handle_finalizers(PyGC_Head *finalizers, PyGC_Head *old) { PyGC_Head *gc = finalizers->gc.gc_next; if (garbage == NULL) { garbage = PyList_New(0); if (garbage == NULL) Py_FatalError("gc couldn't create gc.garbage list"); } for (; gc != finalizers; gc = gc->gc.gc_next) { ...
false
false
false
false
false
0
ad7192_set(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) { struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct ad7192_state *st = iio_priv(indio_dev); struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); int ret; bool val; ret = strtobool(buf, &val); if (r...
false
false
false
false
false
0
do_jump_by_parts_equality (tree exp, rtx if_false_label, rtx if_true_label) { rtx op0 = expand_expr (TREE_OPERAND (exp, 0), NULL_RTX, VOIDmode, 0); rtx op1 = expand_expr (TREE_OPERAND (exp, 1), NULL_RTX, VOIDmode, 0); enum machine_mode mode = TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp, 0))); int nwords = (GET_MODE...
false
false
false
false
false
0
md_stripname(char *mdfullpath) { int i; static char *plainname=NULL; if (plainname!=NULL) free(plainname),plainname=NULL; if ((plainname=malloc(strlen(mdfullpath)+1))==NULL) error(1,ERR_MEM,"md_stripname()"); for (i=strlen(mdfullpath)-1;i>0;i--) { if (mdfullpath[i]=='/') { i++...
false
false
false
false
false
0
initTape (Tape nt) { value *peerVal = findPeer (nt->peerName) ; scope *s = (peerVal == NULL ? NULL : peerVal->v.scope_val) ; nt->inFp = NULL ; nt->outFp = NULL ; nt->lastRotated = 0 ; nt->checkNew = false ; #if 0 nt->head = NULL ; nt->tail = NULL ; nt->qLength = 0 ; #endif nt->scribbled = fals...
false
false
false
false
false
0
AVCHD_SetXMPShotName ( SXMPMeta& xmpObj, const AVCHD_blkPlayListMarkExt& markExt, const std::string& strClipName ) { if ( markExt.mPresent ) { const std::string shotName = AVCHD_StringFieldToXMP ( markExt.mMarkNameLength, markExt.mMarkCharacterSet, markExt.mMarkName, 24 ); if ( ! shotName.empty() ) xmpObj.SetPr...
false
false
false
false
false
0
restore_segments(const Segment_states* segment_states) { // Go through the segment list and remove any segment added in the // relaxation loop. this->tls_segment_ = NULL; this->relro_segment_ = NULL; Segment_list::iterator list_iter = this->segment_list_.begin(); while (list_iter != this->segment_list_.end(...
false
false
false
false
false
0
diffProgram(const Module *Program, const std::string &BitcodeFile, const std::string &SharedObject, bool RemoveBitcode, std::string *ErrMsg) const { // Execute the program, generating an output file... st...
false
false
false
false
false
0
ConstantPropUsersOf(Value *V, const DataLayout &DL, TargetLibraryInfo *TLI) { for (Value::user_iterator UI = V->user_begin(), E = V->user_end(); UI != E; ) if (Instruction *I = dyn_cast<Instruction>(*UI++)) if (Constant *NewC = ConstantFoldInstruction(I, DL, TLI)) { I...
false
false
false
false
false
0
is_distinct(ScmObj x, ScmObj y) { ScmObj carx; if (SCM_PAIRP(x)) { carx = SCM_CAR(x); if (SCM_EQ(carx, SCM_SYM_COMP)) { SCM_ASSERT(SCM_CHAR_SET_P(SCM_CDR(x))); if (SCM_CHARP(y) || SCM_CHAR_SET_P(y)) { return !is_distinct(SCM_CDR(x), y); } ...
false
false
false
false
false
0
check_delay() { struct delay_mode *d = NULL, *prev = NULL, *dnext = NULL; for (d = delay_head; d; d = dnext) { dnext = d->next; if (d->seconds <= now) { add_mode(d->chan, d->plsmns, d->mode, d->mask); if (prev) prev->next = d->next; else delay_head = d->next; if ...
false
false
false
false
false
0
contains_newline(Blob *p){ const char *z = blob_str(p); while( *z ){ if( *z=='\n' ) return 1; z++; } return 0; }
false
false
false
false
false
0
find_attribute_string (GckAttribute *attrs, gsize n_attrs, gulong attr_type, gchar **value) { GckAttribute *attr; gchar *string; attr = find_attribute (attrs, n_attrs, attr_type); if (!attr || gck_attribute_is_invalid (attr)) return FALSE; str...
false
false
false
false
false
0
oldPositionIDFromKey(const oldpositionkey * pkey) { unsigned char const *puch = pkey->auch; static char szID[L_POSITIONID + 1]; char *pch = szID; static char aszBase64[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; int i; for (i = 0; i < 3; i++) { *pch++ = as...
false
false
false
false
false
0
replace_shrink_var_operand(Shrink_args *sa, Operand *op) { int nth_set; for (nth_set = 0; nth_set < sa->max_set; nth_set++) { if (op->kind != sa->formal_keep[nth_set]->kind) continue; if (in_IntSet(sa->arg_entry_set[nth_set], op->entry)) { op->entry = sa->formal_keep[nt...
false
false
false
false
false
0
getDemandedBits(Instruction *I) { performAnalysis(); const DataLayout &DL = I->getParent()->getModule()->getDataLayout(); if (AliveBits.count(I)) return AliveBits[I]; return APInt::getAllOnesValue(DL.getTypeSizeInBits(I->getType())); }
false
false
false
false
false
0
BitPack(unsigned char *Dest, int CurrentBit, unsigned char *Source, int Bits) { int i; for (i=0; i<Bits; i++) if (gn_ringtone_get_bit(Source, i)) gn_ringtone_set_bit(Dest, CurrentBit+i); else gn_ringtone_clear_bit(Dest, CurrentBit+i); return CurrentBit+Bits; }
false
false
false
false
false
0
__ecereInstMeth___ecereNameSpace__ecere__gui__controls__ListBox_NotifyChanged__00000011(struct __ecereNameSpace__ecere__com__Instance * this, struct __ecereNameSpace__ecere__com__Instance * listBox, struct __ecereNameSpace__ecere__com__Instance * row) { struct __ecereNameSpace__ecere__gui__controls__DataBox * __ecerePo...
false
false
false
false
false
0
PatchLUT(cmsStage* CLUT, cmsUInt16Number At[], cmsUInt16Number Value[], int nChannelsOut, int nChannelsIn) { _cmsStageCLutData* Grid = (_cmsStageCLutData*) CLUT ->Data; cmsInterpParams* p16 = Grid ->Params; cmsFloat64Number px, py, pz, pw; int x0, y0, z0, w0; int i, ...
false
false
false
false
false
0
killcmd(int argc, char **argv) { int i = 1; if (argv[1] && strcmp(argv[1], "-l") != 0) { do { if (argv[i][0] == '%') { struct job *jp = getjob(argv[i], 0); unsigned pid = jp->ps[0].ps_pid; /* Enough space for ' -NNN<nul>' */ argv[i] = alloca(sizeof(int)*3 + 3); /* kill_main has matching code ...
false
false
false
false
false
0
SDLVid_Flush(GF_VideoOutput *dr, GF_Window *dest) { SDL_Rect rc; SDLVID(); /*if resizing don't process otherwise we may deadlock*/ if (!ctx->screen) return GF_OK; if (ctx->output_3d_type==1) { SDL_GL_SwapBuffers(); return GF_OK; } if (!ctx->back_buffer) return GF_BAD_PARAM; if ((dest->w != (u32) ctx->back...
false
false
false
false
false
0
dwarf_get_DS_name (unsigned int val,const char ** s_out) { switch (val) { case DW_DS_unsigned: *s_out = "DW_DS_unsigned"; return DW_DLV_OK; case DW_DS_leading_overpunch: *s_out = "DW_DS_leading_overpunch"; return DW_DLV_OK; case DW_DS_trailing_overpunch: *s_out = ...
false
false
false
false
false
0
newsnntp_mode_reader(newsnntp * f) { char command[NNTP_STRING_SIZE]; char * response; int r; snprintf(command, NNTP_STRING_SIZE, "MODE READER\r\n"); r = send_command(f, command); if (r == -1) return NEWSNNTP_ERROR_STREAM; response = read_line(f); if (response == NULL) return NEWSNNTP_ERROR_...
true
true
false
false
false
1
get_ident (struct linereader *lr) { char *buf; size_t bufact; size_t bufmax = 56; const struct keyword_t *kw; int ch; buf = xmalloc (bufmax); bufact = 0; ADDC (lr->buf[lr->idx - 1]); while (!isspace ((ch = lr_getc (lr))) && ch != '"' && ch != ';' && ch != '<' && ch != ',' && ch != EOF) { ...
false
false
false
false
false
0
stripoff_last_component(char *path) { char *p = path ? strrchr(path, '/') : NULL; if (!p) return NULL; *p = '\0'; return ++p; }
false
false
false
false
false
0
builtin_split_by_characters( FRAME * frame, int flags ) { LIST * l1 = lol_get( frame->args, 0 ); LIST * l2 = lol_get( frame->args, 1 ); LIST * result = L0; string buf[ 1 ]; const char * delimiters = object_str( list_front( l2 ) ); char * t; string_copy( buf, object_str( list_front( l...
false
false
false
false
false
0
CaptureMouse(int grab) { if (MouseCapture == 0) { if (!grab) return 0; MouseCapture = View; } else { if (grab || MouseCapture != View) return 0; MouseCapture = 0; } return 1; }
false
false
false
false
false
0
netsys_reshape(value bv) { struct caml_bigarray *b; struct caml_bigarray *mem; uintnat size; int i,k; CAMLparam1(bv); CAMLlocal2(memv,dimv); b = Bigarray_val(bv); /* We dont't have access to caml_ba_update_proxy. The workaround is to call caml_ba_reshape, and to fix the returned...
false
false
false
false
true
1
connection_setup_add_watch (ConnectionSetup *cs, DBusWatch *watch) { guint flags; GIOCondition condition; GIOChannel *channel; IOHandler *handler; if (!dbus_watch_get_enabled (watch)) return; flags = dbus_watch_get_flags (watch); condition = G_IO_ERR | G_IO_HUP...
false
false
false
false
false
0
H5P_init_interface(void) { size_t tot_init; /* Total # of classes initialized */ size_t pass_init; /* # of classes initialized in each pass */ herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_NOAPI_NOINIT /* * Initialize the Generic Proper...
false
false
false
false
false
0
request(const Jid &to, const QString &sid) { d->mode = ModeRequest; QDomElement iq; d->to = to; iq = createIQ(doc(), "set", to.full(), id()); QDomElement query = doc()->createElement("open"); //genUniqueKey query.setAttribute("xmlns", IBB_NS); query.setAttribute("sid", sid); query.setAttribute("block-size", IB...
false
false
false
false
false
0
memberof_task_add(Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Entry *eAfter, int *returncode, char *returntext, void *arg) { PRThread *thread = NULL; int rv = SLAPI_DSE_CALLBACK_OK; task_data *mytaskdata = NULL; Slapi_Task *task = NULL; char *bind_dn; const char *filter; const...
false
false
false
false
false
0
transport_lun_remove_cmd(struct se_cmd *cmd) { struct se_lun *lun = cmd->se_lun; if (!lun) return; if (cmpxchg(&cmd->lun_ref_active, true, false)) percpu_ref_put(&lun->lun_ref); }
false
false
false
false
false
0
phi12(PROJ *P, double *del, double *sig) { int err = 0; if (!proj_param(P->params, "tlat_1").i || !proj_param(P->params, "tlat_2").i) { err = -41; } else { P->phi_1 = proj_param(P->params, "rlat_1").f; P->phi_2 = proj_param(P->params, "rlat_2").f; *del = 0.5 * (P->phi_2 - P->phi_1); *sig ...
false
false
false
false
false
0
amdmsDestroyStatisticsAlgo(amdmsALGO_STAT_ENV **env) { amdmsALGO_STAT_ENV *henv = NULL; amdmsALGO_ENV *hhenv = NULL; if (env == NULL) { return amdmsFAILURE; } if (*env == NULL) { return amdmsSUCCESS; } henv = *env; if (henv->histoData != NULL) { free(henv->histoData); hen...
false
false
false
false
false
0
toc_link(struct buf *ob, const struct buf *link, const struct buf *title, const struct buf *content, void *opaque) { if (content && content->size) bufput(ob, content->data, content->size); return 1; }
false
false
false
false
false
0
__lambda7_ (AbracaMainWindow* self, GtkAction* action) { g_return_if_fail (action != NULL); abraca_configurable_save (); gtk_main_quit (); }
false
false
false
false
false
0
nfs_inode_rmdir (xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc, fop_rmdir_cbk_t cbk, void *local) { struct nfs_fop_local *nfl = NULL; int ret = -EFAULT; if ((!nfsx) || (!xl) || (!pathloc) || (!nfu)) return ret; nfs...
false
false
false
false
false
0
ConstrainBackbone(OBMol &mol, Template *templ, int tmax) { static OBAtom *neighbour[6]; Template *pep; OBAtom *na,*nb,*nc,*nd; OBAtom *atom, *nbr; bool change, result; int i, count; unsigned int idx; vector<OBAtom *>::iterator a; vector<OBBond *>::iterator b; /* First Pass */...
false
false
false
false
false
0
GetPredictionCostCrossColorRed( const uint32_t* argb, int stride, int tile_width, int tile_height, VP8LMultipliers prev_x, VP8LMultipliers prev_y, int green_to_red, const int accumulated_red_histo[256]) { int histo[256] = { 0 }; float cur_diff; VP8LCollectColorRedTransforms(argb, stride, tile_width, ...
false
false
false
false
false
0
border_width_inherit (ccss_style_t const *container_style, ccss_style_t *style) { ccss_property_t const *property; bool ret; if (ccss_style_get_property (container_style, "border-width", &property)) { if (PROPERTY_SET (property)) { ccss_style_set_property (style, "border-width", property); ...
false
false
false
false
false
0
release(MsgPacket* p) { std::set<DiskNode*>::iterator i = m_used.begin(); while(i != m_used.end()) { if((*i)->packet() == p) { (*i)->release(); m_used.erase(i); return; } } }
false
false
false
false
false
0
ldns_dane_get_nth_cert_from_validation_chain( X509** cert, STACK_OF(X509)* chain, int n, bool ca) { if (n >= sk_X509_num(chain) || n < 0) { return LDNS_STATUS_DANE_OFFSET_OUT_OF_RANGE; } *cert = sk_X509_pop(chain); while (n-- > 0) { X509_free(*cert); *cert = sk_X509_pop(chain); } if (ca && ! X509_check_ca...
false
false
false
false
false
0
socket_evt_clear(struct gnutella_socket *s) { socket_check(s); if (s->gdk_tag) { if (GNET_PROPERTY(tls_debug) > 4) { int fd = socket_evt_fd(s); g_debug("socket_evt_clear: fd=%d, cond=%s", fd, inputevt_cond_to_string(s->tls.cb_cond)); } s->tls.cb_cond = 0; s->tls.cb_handler = NULL; s->tls.cb_data...
false
false
false
false
false
0
m6800_reset(void *param) { SEI; /* IRQ disabled */ PCD = RM16( 0xfffe ); CHANGE_PC(); m6800.wai_state = 0; m6800.nmi_state = 0; m6800.irq_state[M6800_IRQ_LINE] = 0; m6800.irq_state[M6800_TIN_LINE] = 0; m6800.ic_eddge = 0; m6800.port1_ddr = 0x00; m6800.port2_ddr = 0x00; /* TODO: on reset po...
false
false
false
false
false
0
viewphfig(pt_fig) phfig_list *pt_fig; { phcon_list *pt_con = NULL; phins_list *pt_ins = NULL; chain_list *pt_chain = NULL; phseg_list *pt_seg = NULL; phvia_list *pt_via = NULL; phref_list *pt_ref = NULL; if (!pt_fig) return; if (pt_fig->NAME == NULL) (void)printf("!!! figure without name !!!\n"); ...
false
false
false
false
false
0
timerEvent(QTimerEvent * event) { if (event->timerId() == m_timer.timerId()) { m_timer.stop(); setStage(m_stage + 1); m_timer.start(TEST_STEP_INTERVAL, this); } }
false
false
false
false
false
0
es_read_fbf (estream_t ES__RESTRICT stream, unsigned char *ES__RESTRICT buffer, size_t bytes_to_read, size_t *ES__RESTRICT bytes_read) { size_t data_available; size_t data_to_read; size_t data_read; int err; data_read = 0; err = 0; while ((bytes_to_read - data_read) && (! err)) { i...
false
false
false
false
false
0
calculateMotionPercentInCell (int p_row, int p_col, double *p_cellarea, double *p_motionarea) { double cntpixelsnum = 0; double cntmotionpixelnum = 0; int ybegin = floor ((double) p_row * m_cellheight); int yend = floor ((double) (p_row + 1) * m_cellheight); int xbegin = floor ((double) (p_col) * m_cellw...
false
false
false
false
false
0
print_union_pw_multi_aff_isl( __isl_take isl_printer *p, __isl_keep isl_union_pw_multi_aff *upma) { struct isl_union_print_data data = { p, 1 }; struct isl_print_space_data space_data = { 0 }; isl_space *space; space = isl_union_pw_multi_aff_get_space(upma); if (isl_space_dim(space, isl_dim_param) > 0) { p = p...
false
false
false
false
false
0
ldns_radix_last_in_subtree_incl_self(ldns_radix_node_t* node) { ldns_radix_node_t* last = ldns_radix_last_in_subtree(node); if (last) { return last; } else if (node->data) { return node; } return NULL; }
false
false
false
false
false
0
Write( const int8 * buf, int len, const sockaddr * addr, int addrlen ) const { tASSERT( IsOpen() ); #ifdef DEBUG if ( sn_ResetSocket ) { sn_ResetSocket = false; Reset(); } #endif int ret = 0; // check if return value was archived static char const * section = "SEND"; i...
false
false
false
false
false
0
Expire_Pilots() { vCFP *pvlist = &vPilots; size_t max, ii, xcnt, nxcnt; PCF_Pilot pp; time_t curr = time(0); // get current epoch seconds time_t diff; int idiff, iExp; iExp = (int)m_PlayerExpires; char *tb = GetNxtBuf(); max = pvlist->size(); xcnt = 0; nxcnt = 0; for (ii...
false
false
false
false
false
0
ast_device_state_engine_init(void) { ast_cond_init(&change_pending, NULL); if (ast_pthread_create_background(&change_thread, NULL, do_devstate_changes, NULL) < 0) { ast_log(LOG_ERROR, "Unable to start device state change thread.\n"); return -1; } return 0; }
false
false
false
false
false
0
onKeyRelease(FXObject*,FXSelector,void* ptr){ FXEvent* event=(FXEvent*)ptr; if(isEnabled()){ if(target && target->tryHandle(this,FXSEL(SEL_KEYRELEASE,message),ptr)) return 1; switch(event->code){ case KEY_Shift_L: case KEY_Shift_R: // We do not switch modes unless something was going on...
false
false
false
false
false
0
_ml_P_IO_readbuf (ml_state_t *msp, ml_val_t arg) { int fd = REC_SELINT(arg, 0); ml_val_t buf = REC_SEL(arg, 1); int nbytes = REC_SELINT(arg, 2); char *start = STR_MLtoC(buf) + REC_SELINT(arg, 3); int n; n = read (fd, start, nbytes); CHK_RETURN (msp, n) }
false
true
false
false
true
1
ipath_pkt_delay(u32 plen, u8 snd_mult, u8 rcv_mult) { return (rcv_mult > snd_mult) ? (plen * (rcv_mult - snd_mult) + 1) >> 1 : 0; }
false
false
false
false
false
0
setPointer(IntervalGroup *p) { //TODO: add check if it is right type. FWReference::setPointer(p); }
false
false
false
false
false
0
ttyname (int fd) { static size_t buflen; char procname[30]; struct stat64 st, st1; int dostat = 0; char *name; int save = errno; struct termios term; /* isatty check, tcgetattr is used because it sets the correct errno (EBADF resp. ENOTTY) on error. */ if (__builtin_expect (__tcgetattr (fd, &te...
false
false
false
false
false
0
XzCheck_Init(CXzCheck *p, int mode) { p->mode = mode; switch (mode) { case XZ_CHECK_CRC32: p->crc = CRC_INIT_VAL; break; case XZ_CHECK_CRC64: p->crc64 = CRC64_INIT_VAL; break; case XZ_CHECK_SHA256: p->sha = cl_hash_init("sha256"); break; } }
false
false
false
false
false
0
mov_pload_callback (GtkWidget *widget, gpointer data) { GtkWidget *filesel; t_mov_gui_stuff *mgp = data; if(mgp->filesel != NULL) { gtk_window_present(GTK_WINDOW(mgp->filesel)); return; /* filesel is already open */ } filesel = gtk_file_selection_new ( _("Load Path Points ...
false
false
false
false
false
0
gst_base_sink_flush_stop (GstBaseSink * basesink, GstPad * pad) { /* unset flushing so we can accept new data, this also flushes out any EOS * event. */ gst_base_sink_set_flushing (basesink, pad, FALSE); /* for position reporting */ GST_OBJECT_LOCK (basesink); basesink->priv->current_sstart = GST_CLOCK_TI...
false
false
false
false
false
0
strdup_convert ( const gchar * str, const gchar * enc_to, const gchar * enc_from ) { gchar * conv; gsize b_read, b_written; conv = g_convert (str, -1, enc_to, enc_from, ...
false
false
false
false
false
0
compose_multiple_compounds (GdaSqlStatementCompoundType ctype, GdaSqlStatement *left, GdaSqlStatement *right) { GdaSqlStatement *ret = NULL; GdaSqlStatementCompound *lc = (GdaSqlStatementCompound*) left->contents; if (lc->compound_type == ctype) { GdaSqlStatementCompound *rc = (GdaSqlStatementCompound*) right->con...
false
false
false
false
false
0
visitICmpInst(ICmpInst &I) { // We must cast the results of icmp which might be promoted. bool needsCast = false; // Write out the cast of the instruction's value back to the proper type // if necessary. bool NeedsClosingParens = writeInstructionCast(I); // Certain icmp predicate require the operand to be...
false
false
false
false
false
0
path_node_delete_chain(path_node * head) { while ( head != NULL ) { path_node * prev = head; head = head->next; delete[] prev->element; delete prev; } }
false
false
false
false
false
0
addrconf6_start (NMDevice *self) { NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self); NMConnection *connection; gboolean success; const guint8 *hwaddr; guint hwaddr_len = 0; connection = nm_device_get_connection (self); g_assert (connection); g_warn_if_fail (priv->ac_ip6_config == NULL); if (priv->ac_ip6_...
false
false
false
false
false
0
Next(const SQObjectPtr &refpos, SQObjectPtr &outkey, SQObjectPtr &outval) { SQObjectPtr oval; SQInteger idx = _members->Next(false,refpos,outkey,oval); if(idx != -1) { if(_ismethod(oval)) { outval = _methods[_member_idx(oval)].val; } else { SQObjectPtr &o = _defaultvalues[_member_idx(oval)].val; outva...
false
false
false
false
false
0
EffectHealMaxHealth(SpellEffectIndex /*eff_idx*/) { if (!unitTarget) { return; } if (!unitTarget->IsAlive()) { return; } uint32 heal = m_caster->GetMaxHealth(); m_healing += heal; }
false
false
false
false
false
0