Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues found using static analysis #4190

Closed
rcubetrac opened this issue May 5, 2013 · 3 comments
Closed

Issues found using static analysis #4190

rcubetrac opened this issue May 5, 2013 · 3 comments

Comments

@rcubetrac
Copy link

Reported by rasmus on 5 May 2013 22:32 UTC as Trac ticket #1489086

These are the remaining issues to go along with #72

--------------------------------
File       : plugins/enigma/enigma.php:64
Reason     : UseUndeclaredVariable
Snippet    : $section
Line       : $this->ui->init($section);
--------------------------------
File       : plugins/enigma/lib/enigma_engine.php:384
Reason     : UseUndeclaredVariable
Snippet    : $error
Line       : 'message' => "Enigma plugin: " . $error->getMessage()
--------------------------------
File       : plugins/enigma/lib/enigma_engine.php:403
Reason     : UseUndeclaredVariable
Snippet    : $key
Line       : $result = $this->pgp_driver->decrypt($msg_body, $key, $pass);
--------------------------------
File       : plugins/enigma/lib/enigma_engine.php:403
Reason     : UseUndeclaredVariable
Snippet    : $pass
Line       : $result = $this->pgp_driver->decrypt($msg_body, $key, $pass);
--------------------------------
File       : plugins/password/drivers/pam.php:17
Reason     : UseUndeclaredVariable
Snippet    : $error
Line       : if (pam_auth($user, $currpass, $error, false)) {
--------------------------------
File       : plugins/password/drivers/pam.php:27
Reason     : UseUndeclaredVariable
Snippet    : $error
Line       : 'message' => "Password plugin: PAM authentication failed for user $user: $error"
--------------------------------
File       : plugins/password/password.php:171
Reason     : UseUndeclaredVariable
Snippet    : $res
Line       : $rcmail->output->command('display_message', $res, 'error');
--------------------------------
File       : program/lib/Roundcube/rcube_db.php:131
Reason     : UseUndeclaredVariable
Snippet    : $db_pconn
Line       : if ($db_pconn) {
--------------------------------
File       : program/lib/Roundcube/rcube_smtp.php:122
Reason     : UseUndeclaredVariable
Snippet    : $smtp_timeout
Line       : $result = $this->conn->connect($smtp_timeout);
--------------------------------

Migrated-From: http://trac.roundcube.net/ticket/1489086

@rcubetrac
Copy link
Author

Comment by @alecpl on 6 May 2013 10:25 UTC

Fixed in ce89ecd

@rcubetrac
Copy link
Author

Status changed by @alecpl on 6 May 2013 10:25 UTC

new => closed

@rcubetrac
Copy link
Author

Milestone changed by @alecpl on 6 May 2013 10:25 UTC

later => 0.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant