Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1421.1421
Procedure: fe_events_init
Trace: View
Modified: Wed Sep 2 11:41:01 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.c
   Enter fe_events_init
 444         signal_add("event mode", (SIGNAL_FUNC) event_mode);   /* Dangerous Function Cast (ID: 1406.1406) */
 445         signal_add("event pong", (SIGNAL_FUNC) event_pong);   /* Dangerous Function Cast (ID: 1405.1405) */
 446         signal_add("event invite", (SIGNAL_FUNC) event_invite);   /* Dangerous Function Cast (ID: 1404.1404) */
 447         signal_add("event topic", (SIGNAL_FUNC) event_topic);   /* Dangerous Function Cast (ID: 1403.1403) */
 448         signal_add("event error", (SIGNAL_FUNC) event_error);   /* Dangerous Function Cast (ID: 1402.1402) */
 449         signal_add("event wallops", (SIGNAL_FUNC) event_wallops);   /* Dangerous Function Cast (ID: 1401.1401) */
 450         signal_add("event silence", (SIGNAL_FUNC) event_silence);   /* Dangerous Function Cast (ID: 1400.1400) */
 451  
 452         signal_add("default event", (SIGNAL_FUNC) event_received);   /* Dangerous Function Cast (ID: 1399.1399) */
 453  
Wrong Number of Parameters454         signal_add("channel sync", (SIGNAL_FUNC) channel_sync);     /* Dangerous Function Cast */
 455         signal_add("event connected", (SIGNAL_FUNC) event_connected);   /* Dangerous Function Cast (ID: 1420.1420) */
 456         signal_add("nickfind event whois", (SIGNAL_FUNC) event_nickfind_whois);   /* Dangerous Function Cast (ID: 1419.1419) */
 457         signal_add("ban type changed", (SIGNAL_FUNC) event_ban_type_changed);   /* Dangerous Function Cast (ID: 1418.1418) */
 458         signal_add("whois event not found", (SIGNAL_FUNC) sig_whois_event_not_found);   /* Dangerous Function Cast (ID: 1417.1417) */
 459         signal_add("whowas event end", (SIGNAL_FUNC) sig_whowas_event_end);   /* Dangerous Function Cast (ID: 1416.1416) */
 460 
 461  
 462 void fe_events_deinit(void)
 463 {
 464         signal_remove("event privmsg", (SIGNAL_FUNC) event_privmsg);   /* Dangerous Function Cast (ID: 1427.1427) */




Change Warning 1421.1421 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: