Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1457.26903
Procedure: chat_completion_deinit
Trace: view
Modified: Thu Nov 26 11:00:30 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
 1185  
 1186 void chat_completion_deinit(void) 
 1187 {
 1188         while (global_lastmsgs != NULL)
 1189                 last_msg_destroy(&global_lastmsgs, global_lastmsgs->data);
 1190  
 1191         signal_remove("complete word", (SIGNAL_FUNC) sig_complete_word);   /* Dangerous Function Cast (ID: 1461.26907) */
 1192         signal_remove("complete command msg", (SIGNAL_FUNC) sig_complete_msg);   /* Dangerous Function Cast (ID: 1460.26906) */
 1193         signal_remove("complete command query", (SIGNAL_FUNC) sig_complete_msg);   /* Dangerous Function Cast (ID: 1459.26905) */
 1194         signal_remove("complete command action", (SIGNAL_FUNC) sig_complete_msg);   /* Dangerous Function Cast (ID: 1458.26904) */
Wrong Number of Parameters1195         signal_remove("complete erase command msg", (SIGNAL_FUNC) sig_erase_complete_msg);     /* Dangerous Function Cast */
 1196         signal_remove("complete erase command query", (SIGNAL_FUNC) sig_erase_complete_msg);   /* Dangerous Function Cast (ID: 1456.26902) */
 1197         signal_remove("complete erase command action", (SIGNAL_FUNC) sig_erase_complete_msg);   /* Dangerous Function Cast (ID: 1455.26901) */
 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) */




Change Warning 1457.26903 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: