Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/kernel.git]
/
src
/
KernelHelpers
/
KernelServices.cxx
diff --git
a/src/KernelHelpers/KernelServices.cxx
b/src/KernelHelpers/KernelServices.cxx
index 2a217d1bd6fd433766da2262b57d62550444fe26..1626958c92b445ae036c7b292293c73af3006abb 100644
(file)
--- a/
src/KernelHelpers/KernelServices.cxx
+++ b/
src/KernelHelpers/KernelServices.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2021
CEA/DEN, EDF R&D
+// Copyright (C) 2021
-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-33,3
+33,12
@@
std::string RetrieveCompoInternal(const std::string& compoName)
CORBA::String_var ior = orb->object_to_string(obj);
return std::string(ior.in());
}
CORBA::String_var ior = orb->object_to_string(obj);
return std::string(ior.in());
}
+
+/*!
+ * This method generates a SIGSEGV to test robustness of higher level layers.
+ */
+void GenerateViolentMemoryFaultForTestPurpose()
+{
+ double *a = nullptr;
+ *a = 0;
+}