diff --git a/components/security_apps/orchestration/manifest_controller/manifest_controller.cc b/components/security_apps/orchestration/manifest_controller/manifest_controller.cc index 725d0b0..f48fa51 100755 --- a/components/security_apps/orchestration/manifest_controller/manifest_controller.cc +++ b/components/security_apps/orchestration/manifest_controller/manifest_controller.cc @@ -477,6 +477,13 @@ ManifestController::Impl::isIgnoreFile(const string &new_manifest_file) const manifest.get(ch); } + if (!manifest.good() || ch != ':') return false; + manifest.get(ch); + + while (manifest.good() && isspace(ch)) { + manifest.get(ch); + } + if (!manifest.good() || ch != 'n') return false; manifest.get(ch); if (!manifest.good() || ch != 'u') return false;