Skip to content

Commit

Permalink
Model pr_session_disconnect() as a killpath.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjsaunders committed Oct 13, 2014
1 parent 6fd7145 commit 2991d05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/coverity/modeling.c
Expand Up @@ -24,6 +24,12 @@

/* Coverity modeling file. */

/* ProFTPD functions */
void pr_session_disconnect(module *m, int reason_code, const char *details) {
__coverity_panic__();
}

/* libc functions */
int setenv(const char *key, const char *value, int overwrite) {
__coverity_tainted_data_sink__(key);
__coverity_tainted_data_sink__(value);
Expand Down

0 comments on commit 2991d05

Please sign in to comment.