Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at lastlog.c:293

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1903.1903
Procedure: lastlog_deinit
Trace: View
Modified: Wed Sep 2 11:47:14 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-text/lastlog.c
   Enter lastlog_deinit
 283  
 284 void lastlog_init(void)
 285 {
 286         command_bind("lastlog", NULL, (SIGNAL_FUNC) cmd_lastlog);   /* Dangerous Function Cast (ID: 1902.1902) */
 287  
 288         command_set_options("lastlog", "!- # force clear -file -window new away word regexp case count @a @after @before");
 289 }
 290  
 291 void lastlog_deinit(void) 
 292 {
Wrong Number of Parameters293         command_unbind("lastlog", (SIGNAL_FUNC) cmd_lastlog);     /* Dangerous Function Cast */
 294 




Change Warning 1903.1903 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: