Text   |  XML   |  ReML   |   Visible Warnings:

Negative Character Value  at packet-ipsec.c:660

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

esp_sa_parse_spi

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ipsec.c)expand/collapse
Show more  
 650    guint i = 0;
 651   
 652    gchar spi_string[IPSEC_SPI_LEN_MAX + 1];
 653    gchar spi_string_tmp[IPSEC_SPI_LEN_MAX + 1];
 654    gboolean done_flag = FALSE;
 655   
 656    if((sa == NULL) || (strcmp(sa, "") == 0))  return FALSE;
 657   
 658    while(((cpt + index_start) < strlen(sa)) && (cpt < IPSEC_SPI_LEN_MAX))
 659      {
 660        spi_string[cpt] = toupper(sa[cpt + index_start]);
 661        cpt ++;
 662      }
 663   
 664    if(cpt == 0)
 665      done_flag = FALSE;
 666    else 
 667      {
 668        spi_string[cpt] = '\0';
 669        if((cpt >= 2) &&
 670           (spi_string[0] == '0') &&
Show more  




Change Warning 55.27297 : Negative Character Value

Priority:
State:
Finding:
Owner:
Note: