Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1447.1447
Procedure: fe_events_numeric_init
Trace: View
Modified: Wed Sep 2 11:41:11 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
 652         signal_add("event 437", (SIGNAL_FUNC) event_target_unavailable);   /* Dangerous Function Cast (ID: 1457.1457) */
 653         signal_add("event 401", (SIGNAL_FUNC) event_no_such_nick);   /* Dangerous Function Cast (ID: 1456.1456) */
 654         signal_add("event 403", (SIGNAL_FUNC) event_no_such_channel);   /* Dangerous Function Cast (ID: 1455.1455) */
 655         signal_add("event 405", (SIGNAL_FUNC) event_too_many_channels);   /* Dangerous Function Cast (ID: 1454.1454) */
 656         signal_add("event 407", (SIGNAL_FUNC) event_duplicate_channel);   /* Dangerous Function Cast (ID: 1453.1453) */
 657         signal_add("event 471", (SIGNAL_FUNC) event_channel_is_full);   /* Dangerous Function Cast (ID: 1452.1452) */
 658         signal_add("event 472", (SIGNAL_FUNC) event_unknown_mode);   /* Dangerous Function Cast (ID: 1451.1451) */
 659         signal_add("event 473", (SIGNAL_FUNC) event_invite_only);   /* Dangerous Function Cast (ID: 1450.1450) */
 660         signal_add("event 474", (SIGNAL_FUNC) event_banned);   /* Dangerous Function Cast (ID: 1449.1449) */
 661         signal_add("event 475", (SIGNAL_FUNC) event_bad_channel_key);   /* Dangerous Function Cast (ID: 1448.1448) */
Wrong Number of Parameters662         signal_add("event 476", (SIGNAL_FUNC) event_bad_channel_mask);     /* Dangerous Function Cast */
 663         signal_add("event 477", (SIGNAL_FUNC) event_477);   /* Dangerous Function Cast (ID: 1446.1446) */
 664         signal_add("event 375", (SIGNAL_FUNC) event_motd);   /* Dangerous Function Cast (ID: 1445.1445) */
 665         signal_add("event 376", (SIGNAL_FUNC) event_motd);   /* Dangerous Function Cast (ID: 1520.1520) */
 666         signal_add("event 372", (SIGNAL_FUNC) event_motd);   /* Dangerous Function Cast (ID: 1519.1519) */
 667         signal_add("event 422", (SIGNAL_FUNC) event_motd);   /* Dangerous Function Cast (ID: 1518.1518) */
 668  
 669         signal_add("default event numeric", (SIGNAL_FUNC) event_numeric);   /* Dangerous Function Cast (ID: 1517.1517) */
 670         /* Because default event numeric only fires if there is no specific 
 671          * event, add all numerics with a handler elsewhere in irssi that 
 672          * should not be printed specially here.




Change Warning 1447.1447 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: