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

CID 114694: (LOCK_EVASION) #374

Open
jewzaam opened this issue Jun 7, 2016 · 0 comments
Open

CID 114694: (LOCK_EVASION) #374

jewzaam opened this issue Jun 7, 2016 · 0 comments

Comments

@jewzaam
Copy link
Member

jewzaam commented Jun 7, 2016

https://scan.coverity.com/projects/lightblue-platform-lightblue

*** CID 114694:    (LOCK_EVASION)
/lightblue-migrator/migrator/src/main/java/com/redhat/lightblue/migrator/MigratorController.java: 168 in com.redhat.lightblue.migrator.MigratorController.run()()
162                                     MigrationConfiguration x = reloadMigrationConfiguration();
163                                     if (x == null) {
164                                         // Terminate
165                                         LOGGER.debug("Controller {} terminating",migrationConfiguration.getConfigurationName());
166                                         stopped=true;
167                                     } else {
>>>     CID 114694:    (LOCK_EVASION)
>>>     The modification of "migrationConfiguration" can race with the unguarded check of "stopped".
168                                         migrationConfiguration = x;
169                                     }
170                                 } catch (Exception e) {
171                                     LOGGER.error("Cannot refresh configuration", e);
172                                 }
173                             }
/lightblue-migrator/migrator/src/main/java/com/redhat/lightblue/migrator/MigratorController.java: 168 in com.redhat.lightblue.migrator.MigratorController.run()()
162                                     MigrationConfiguration x = reloadMigrationConfiguration();
163                                     if (x == null) {
164                                         // Terminate
165                                         LOGGER.debug("Controller {} terminating",migrationConfiguration.getConfigurationName());
166                                         stopped=true;
167                                     } else {
>>>     CID 114694:    (LOCK_EVASION)
>>>     The modification of "migrationConfiguration" can race with the unguarded check of "stopped".
168                                         migrationConfiguration = x;
169                                     }
170                                 } catch (Exception e) {
171                                     LOGGER.error("Cannot refresh configuration", e);
172                                 }
173                             }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant