Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at chat-completion.c:1208

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1444.26890
Procedure: chat_completion_deinit
Trace: view
Modified: Thu Nov 26 11:00:27 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
   /kat0/fletcher/SATE/2010/irssi-0.8.14/src/fe-common/core/chat-completion.c
   Enter chat_completion_deinit
 1198         signal_remove("complete command connect", (SIGNAL_FUNC) sig_complete_connect);   /* Dangerous Function Cast (ID: 1454.26900) */
 1199         signal_remove("complete command server", (SIGNAL_FUNC) sig_complete_connect);   /* Dangerous Function Cast (ID: 1453.26899) */
 1200         signal_remove("complete command disconnect", (SIGNAL_FUNC) sig_complete_tag);   /* Dangerous Function Cast (ID: 1452.26898) */
 1201         signal_remove("complete command reconnect", (SIGNAL_FUNC) sig_complete_tag);   /* Dangerous Function Cast (ID: 1451.26897) */
 1202         signal_remove("complete command window server", (SIGNAL_FUNC) sig_complete_tag);   /* Dangerous Function Cast (ID: 1450.26896) */
 1203         signal_remove("complete command topic", (SIGNAL_FUNC) sig_complete_topic);   /* Dangerous Function Cast (ID: 1449.26895) */
 1204         signal_remove("complete command away", (SIGNAL_FUNC) sig_complete_away);   /* Dangerous Function Cast (ID: 1448.26894) */
 1205         signal_remove("complete command unalias", (SIGNAL_FUNC) sig_complete_unalias);   /* Dangerous Function Cast (ID: 1447.26893) */
 1206         signal_remove("complete command alias", (SIGNAL_FUNC) sig_complete_alias);   /* Dangerous Function Cast (ID: 1446.26892) */
 1207         signal_remove("complete command window goto", (SIGNAL_FUNC) sig_complete_window);   /* Dangerous Function Cast (ID: 1445.26891) */
Wrong Number of Parameters1208         signal_remove("complete command window item move", (SIGNAL_FUNC) sig_complete_channel);     /* Dangerous Function Cast */
 1209         signal_remove("complete command server add", (SIGNAL_FUNC) sig_complete_server);   /* Dangerous Function Cast (ID: 1443.26889) */
 1210         signal_remove("complete command server remove", (SIGNAL_FUNC) sig_complete_server);   /* Dangerous Function Cast (ID: 1442.26888) */
 1211         signal_remove("complete command recode remove", (SIGNAL_FUNC) sig_complete_target);   /* Dangerous Function Cast (ID: 1441.26887) */
 1212         signal_remove("message public", (SIGNAL_FUNC) sig_message_public);   /* Dangerous Function Cast (ID: 1440.26886) */
 1213         signal_remove("message join", (SIGNAL_FUNC) sig_message_join);   /* Dangerous Function Cast (ID: 1439.26885) */
 1214         signal_remove("message private", (SIGNAL_FUNC) sig_message_private);   /* Dangerous Function Cast (ID: 1470.26916) */
 1215         signal_remove("message own_public", (SIGNAL_FUNC) sig_message_own_public);   /* Dangerous Function Cast (ID: 1469.26915) */
 1216         signal_remove("message own_private", (SIGNAL_FUNC) sig_message_own_private);   /* Dangerous Function Cast (ID: 1468.26914) */
 1217         signal_remove("nicklist remove", (SIGNAL_FUNC) sig_nick_removed);   /* Dangerous Function Cast (ID: 1467.26913) */
 1218         signal_remove("nicklist changed", (SIGNAL_FUNC) sig_nick_changed);   /* Dangerous Function Cast (ID: 1466.26912) */




Change Warning 1444.26890 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: