Text   |  XML   |  ReML   |   Visible Warnings:

Buffer Overrun  at lemon.c:3113

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

tplt_xfer

(/home/sate/Testcases/c/cve/wireshark-1.2.0/tools/lemon/lemon.c)expand/collapse
Show more  
 3105  PRIVATE void tplt_xfer(const char *name, FILE *in, FILE *out, int *lineno)
 3106  {
 3107    int i, iStart;
 3108    char line[LINESIZE];
 3109    while( fgets(line,LINESIZE,in) && (line[0]!='%' || line[1]!='%') ){
 3110      (*lineno)++;
 3111      iStart = 0;
 3112      if( name ){
 3113        for(i=0; line[i] && i<LINESIZE; i++){
 3114          if( line[i]=='P' && i<(LINESIZE-5) && strncmp(&line[i],"Parse",5)==0
 3115            && (i==0 || !safe_isalpha(line[i-1]))
 3116          ){
 3117            if( i>iStart ) fprintf(out,"%.*s",i-iStart,&line[iStart]);
 3118            fprintf(out,"%s",name);
 3119            i += 4;
 3120            iStart = i+1;
Show more  




Change Warning 916.29939 : Buffer Overrun

Priority:
State:
Finding:
Owner:
Note: