Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-whois.c:415

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1642.1642
Procedure: fe_whois_init
Trace: View
Modified: Wed Sep 2 11:43:57 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-whois.c
   Enter fe_whois_init
 405  
 406 void fe_whois_init(void) 
 407 {
 408         settings_add_bool("lookandfeel", "whois_hide_safe_channel_id", TRUE);
 409  
 410         signal_add("event 311", (SIGNAL_FUNC) event_whois);   /* Dangerous Function Cast (ID: 1645.1645) */
 411         signal_add("event 312", (SIGNAL_FUNC) event_whois_server);   /* Dangerous Function Cast (ID: 1644.1644) */
 412         /* readding this events fixes the printing of /whois -yes *  
 413            Bug http://bugs.irssi.org/?do=details&id=123 */ 
 414         signal_add("event 317", (SIGNAL_FUNC) event_whois_idle);   /* Dangerous Function Cast (ID: 1643.1643) */
Wrong Number of Parameters415         signal_add("event 319", (SIGNAL_FUNC) event_whois_channels);     /* Dangerous Function Cast */
 416         signal_add("event 313", (SIGNAL_FUNC) event_whois_oper);   /* Dangerous Function Cast (ID: 1641.1641) */
 417         signal_add("event 330", (SIGNAL_FUNC) event_whois_auth);   /* Dangerous Function Cast (ID: 1640.1640) */
 418         signal_add("event 377", (SIGNAL_FUNC) event_whois_usermode);   /* Dangerous Function Cast (ID: 1639.1639) */
 419         signal_add("event 378", (SIGNAL_FUNC) event_whois_realhost);   /* Dangerous Function Cast (ID: 1638.1638) */
 420         signal_add("event 379", (SIGNAL_FUNC) event_whois_modes);   /* Dangerous Function Cast (ID: 1637.1637) */
 421         signal_add("event 327", (SIGNAL_FUNC) event_whois_realhost327);   /* Dangerous Function Cast (ID: 1636.1636) */
 422         signal_add("event 326", (SIGNAL_FUNC) event_whois_usermode326);   /* Dangerous Function Cast (ID: 1635.1635) */
 423         signal_add("event 338", (SIGNAL_FUNC) event_whois_realhost338);   /* Dangerous Function Cast (ID: 1653.1653) */
 424         signal_add("whois away", (SIGNAL_FUNC) event_whois_away);   /* Dangerous Function Cast (ID: 1652.1652) */
 425         signal_add("whois oper", (SIGNAL_FUNC) event_whois_oper);   /* Dangerous Function Cast (ID: 1651.1651) */




Change Warning 1642.1642 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: