Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Negative Character Value  at cons.c:578

Categories: LANG.TYPE.NEGCHAR CWE:119 CWE:686
Warning ID: 2423.2447
Similar Warnings: 2423.2445
Procedure: acav
Trace: View
Modified: Wed Sep 2 12:37:42 2009   show details
 
Priority: None
State: None
Finding: None
Owner: None
  edit properties

Legend [ X ]
Warning Location
Contributes
Parse Error
Other Warning
Two or More Loop Iterations
On Execution Path
Comment
Macro
Preprocessor
Include
Keyword
Preprocessed Away

Source  |  Language: C Hide Legend     
ProblemLineSource
   /u1/paul/SATE/2010/c/pvm/pvm3/console/cons.c
   Enter acav
 568                                                 *q++ = *p;
 569                                                 mode = 0;
 570  
 571                                         } else if (mode == *p) {
 572                                                 mode = 0;
 573  
 574                                         } else 
 575                                                 *q++ = *p;
 576  
 577                                 } else {
Type is char or signed char578                                         if (isspace(*p))     /* Negative Character Value */
 579                                                 break;
 580  
 581                                         switch (*p) {
 582  
 583                                         case '"': 
 584                                         case '\'': 
 585                                         case '\\': 
 586                                                 mode = *p;
 587                                                 break;
 588  




Change Warning 2423.2447 : Negative Character Value

Because they are very similar, this warning shares annotations with warning 2423.2445.
CodeSonar has selected warning 2423.2445 to represent this group of similar warnings. In order to edit this group, you must edit warning 2423.2445.