Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-events-numeric.c:707

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1484.1484
Procedure: fe_events_numeric_init
Trace: View
Modified: Wed Sep 2 11:42:09 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/irssi/irssi-0.8.14/src/fe-common/irc/fe-events-numeric.c
   Enter fe_events_numeric_init
 697         signal_add("event 387", (SIGNAL_FUNC) event_target_received); /* end of owner list */   /* Dangerous Function Cast (ID: 1494.1494) */
 698         signal_add("event 388", (SIGNAL_FUNC) event_target_received); /* protect list */   /* Dangerous Function Cast (ID: 1493.1493) */
 699         signal_add("event 389", (SIGNAL_FUNC) event_target_received); /* end of protect list */   /* Dangerous Function Cast (ID: 1492.1492) */
 700         signal_add("event 404", (SIGNAL_FUNC) event_target_received); /* cannot send to channel */   /* Dangerous Function Cast (ID: 1491.1491) */
 701         signal_add("event 408", (SIGNAL_FUNC) event_target_received); /* cannot send (+c) */   /* Dangerous Function Cast (ID: 1490.1490) */
 702         signal_add("event 442", (SIGNAL_FUNC) event_target_received); /* you're not on that channel */   /* Dangerous Function Cast (ID: 1489.1489) */
 703         signal_add("event 478", (SIGNAL_FUNC) event_target_received); /* ban list is full */   /* Dangerous Function Cast (ID: 1488.1488) */
 704         signal_add("event 482", (SIGNAL_FUNC) event_target_received); /* not chanop */   /* Dangerous Function Cast (ID: 1487.1487) */
 705         signal_add("event 486", (SIGNAL_FUNC) event_target_received); /* cannot /msg (+R) */   /* Dangerous Function Cast (ID: 1486.1486) */
 706         signal_add("event 489", (SIGNAL_FUNC) event_target_received); /* not chanop or voice */   /* Dangerous Function Cast (ID: 1485.1485) */
Wrong Number of Parameters707         signal_add("event 494", (SIGNAL_FUNC) event_target_received); /* cannot /msg (own +R) */     /* Dangerous Function Cast */
 708         signal_add("event 506", (SIGNAL_FUNC) event_target_received); /* cannot send (+R) */   /* Dangerous Function Cast (ID: 1483.1483) */
 709         signal_add("event 716", (SIGNAL_FUNC) event_target_received); /* cannot /msg (+g) */   /* Dangerous Function Cast (ID: 1482.1482) */
 710         signal_add("event 717", (SIGNAL_FUNC) event_target_received); /* +g notified */   /* Dangerous Function Cast (ID: 1481.1481) */
 711 
 712  
 713 void fe_events_numeric_deinit(void)
 714 {
 715         g_free_not_null(last_away_nick);
 716         g_free_not_null(last_away_msg);
 717  




Change Warning 1484.1484 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: