Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at perl-common.c:715

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1685.1685
Procedure: perl_common_stop
Trace: View
Modified: Wed Sep 2 11:44:34 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/perl/perl-common.c
   Enter perl_common_stop
 705  
 706         g_hash_table_foreach(plain_stashes, (GHFunc) g_free, NULL);   /* Dangerous Function Cast (ID: 1683.1683) */
 707         g_hash_table_destroy(plain_stashes);
 708         plain_stashes = NULL;
 709  
 710         g_slist_foreach(use_protocols, (GFunc) g_free, NULL);   /* Dangerous Function Cast (ID: 1682.1682) */
 711         g_slist_free(use_protocols);
 712         use_protocols = NULL;
 713  
 714         signal_remove("chat protocol created", (SIGNAL_FUNC) perl_register_protocol);   /* Dangerous Function Cast (ID: 1686.1686) */
Wrong Number of Parameters715         signal_remove("chat protocol destroyed", (SIGNAL_FUNC) perl_unregister_protocol);     /* Dangerous Function Cast */
 716 




Change Warning 1685.1685 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: