Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at massjoin.c:295

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 508.508
Procedure: massjoin_deinit
Trace: View
Modified: Wed Sep 2 11:34:52 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/irc/core/massjoin.c
   Enter massjoin_deinit
 285         signal_add("event quit", (SIGNAL_FUNC) event_quit);   /* Dangerous Function Cast (ID: 500.500) */
 286         signal_add("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 499.499) */
 287 }
 288  
 289 void massjoin_deinit(void) 
 290 {
 291         g_source_remove(massjoin_tag);
 292  
 293         signal_remove("event join", (SIGNAL_FUNC) event_join);   /* Dangerous Function Cast (ID: 505.505) */
 294         signal_remove("event part", (SIGNAL_FUNC) event_part);   /* Dangerous Function Cast (ID: 504.504) */
Wrong Number of Parameters295         signal_remove("event kick", (SIGNAL_FUNC) event_kick);     /* Dangerous Function Cast */
 296         signal_remove("event quit", (SIGNAL_FUNC) event_quit);   /* Dangerous Function Cast (ID: 507.507) */
 297         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 506.506) */
 298 




Change Warning 508.508 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: