Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1637.1637
Procedure: fe_whois_init
Trace: View
Modified: Wed Sep 2 11:43:55 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
 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) */
 415         signal_add("event 319", (SIGNAL_FUNC) event_whois_channels);   /* Dangerous Function Cast (ID: 1642.1642) */
 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) */
Wrong Number of Parameters420         signal_add("event 379", (SIGNAL_FUNC) event_whois_modes);     /* Dangerous Function Cast */
 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) */
 426         signal_add("whowas away", (SIGNAL_FUNC) event_whois_away);   /* Dangerous Function Cast (ID: 1650.1650) */
 427         signal_add("whois default event", (SIGNAL_FUNC) event_whois_default);   /* Dangerous Function Cast (ID: 1649.1649) */
 428         signal_add("event 318", (SIGNAL_FUNC) event_end_of_whois);   /* Dangerous Function Cast (ID: 1648.1648) */
 429         signal_add("event 314", (SIGNAL_FUNC) event_whowas);   /* Dangerous Function Cast (ID: 1647.1647) */
 430         signal_add("event 369", (SIGNAL_FUNC) event_end_of_whowas);   /* Dangerous Function Cast (ID: 1646.1646) */




Change Warning 1637.1637 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: