Text   |  XML   |  ReML   |   Visible Warnings:

Buffer Overrun  at value_string.c:61

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_inap_T_local

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-inap.c)expand/collapse
Show more  
 1401  dissect_inap_T_local(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
 1402  #line 165 "inap.cnf"
 1403      offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
 1404                                                  &opcode);
 1405   
 1406          if (inap_opcode_type == INAP_OPCODE_RETURN_ERROR){
 1407            errorCode = opcode;    
 1408[+]           if (check_col(actx->pinfo->cinfo, COL_INFO)){
 1409              col_append_str(actx->pinfo->cinfo, COL_INFO,  
 1410[+]                val_to_str(errorCode, inap_err_code_string_vals, "Unknown INAP error (%u)"));
expand/collapse

val_to_str

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/value_string.c)expand/collapse
Show more  
 39  const gchar*
 40  val_to_str(guint32 val, const value_string *vs, const char *fmt) {
 41    const gchar *ret;
 42   
 43    g_assert(fmt != NULL);
 44   
 45[+]   ret = match_strval(val, vs);
expand/collapse

match_strval

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/value_string.c)expand/collapse
Show more  
 75  const gchar*
 76  match_strval(guint32 val, const value_string *vs) {
 77      gint ignore_me;
 78[+]     return match_strval_idx(val, vs, &ignore_me);
expand/collapse

match_strval_idx

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/value_string.c)expand/collapse
Show more  
 56  const gchar*
 57  match_strval_idx(guint32 val, const value_string *vs, gint *idx) {
 58    gint i = 0;
 59   
 60    if(vs) {
 61      while (vs[i].strptr) {
 62        if (vs[i].value == val) {
 63          *idx = i;
 64          return(vs[i].strptr);
 65        }
 66        i++;
Show more  
Show more  
Show more  
Show more  




Change Warning 1285.32274 : Buffer Overrun

Priority:
State:
Finding:
Owner:
Note: