Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

This commit primarily contains file permission changes for Lunix/Unix.

Additionally, LocalFilesystem will now generate an error instead of dying when a zero-length path is passed to getFile.
  • Loading branch information...
commit 34bdcf89b8f47afe8650f4293bcab1cc7a1f40ba 1 parent 7c4b3d0
David A. Solin authored
Showing with 2 additions and 2 deletions.
  1. 0  LICENSE.txt
  2. 0  README.md
  3. 0  SDK/GNUmakefile
  4. 0  SDK/docs/introduction.html
  5. 0  SDK/engine/GNUmakefile
  6. 0  SDK/engine/classes.mk
  7. 0  SDK/engine/rsrc/lib/cal10n-api-0.7.4.jar
  8. 0  SDK/engine/rsrc/lib/slf4j-api-1.6.2.jar
  9. 0  SDK/engine/rsrc/lib/slf4j-ext-1.6.2.jar
  10. 0  SDK/engine/rsrc/lib/slf4j-jdk14-1.6.2.jar
  11. 0  SDK/licenses/GNU_Crypto.txt
  12. 0  SDK/licenses/JSch.txt
  13. 0  SDK/licenses/JZlib.txt
  14. 0  SDK/licenses/Jarapac.txt
  15. 0  SDK/licenses/SLF4J.txt
  16. 0  SDK/licenses/cal10n.txt
  17. 0  SDK/licenses/iWombat.txt
  18. 0  SDK/licenses/j-Interop.txt
  19. 0  SDK/licenses/jOVAL.txt
  20. 0  SDK/licenses/jTDS.txt
  21. 0  SDK/licenses/jWbem.txt
  22. 0  SDK/licenses/jcifs.txt
  23. 0  SDK/licenses/plist.txt
  24. 0  SDK/plugin/GNUmakefile
  25. 0  SDK/plugin/classes.mk
  26. 0  SDK/plugin/rsrc/lib/JSch.jar
  27. 0  SDK/plugin/rsrc/lib/JZlib.jar
  28. 0  SDK/plugin/rsrc/lib/dd-plist.jar
  29. 0  SDK/plugin/rsrc/lib/j-interop.jar
  30. 0  SDK/plugin/rsrc/lib/j-interopdeps.jar
  31. 0  SDK/plugin/rsrc/lib/jWbem.jar
  32. 0  SDK/plugin/rsrc/lib/jcifs-1.3.15.jar
  33. 0  SDK/sample/GNUmakefile
  34. 0  SDK/sample/TrivialScanner.java
  35. 0  SDK/sample/definitions.xml
  36. 0  SDK/sample/logging.properties
  37. 0  SDK/sample/plugin.properties
  38. +1 −1  common.mk
  39. 0  jovaldi/GNUmakefile
  40. 0  jovaldi/classes.mk
  41. 0  jovaldi/plugin/default/GNUmakefile
  42. 0  jovaldi/plugin/default/classes.mk
  43. 0  jovaldi/plugin/default/rsrc/lib/dd-plist.jar
  44. 0  jovaldi/plugin/default/rsrc/lib/jacob-1.15-M4-x64.dll
  45. 0  jovaldi/plugin/default/rsrc/lib/jacob-1.15-M4-x86.dll
  46. 0  jovaldi/plugin/default/rsrc/lib/jacob.jar
  47. 0  jovaldi/plugin/default/rsrc/lib/jna.jar
  48. 0  jovaldi/plugin/default/rsrc/lib/platform.jar
  49. 0  jovaldi/plugin/default/rsrc/plugin.properties
  50. 0  jovaldi/plugin/remote/GNUmakefile
  51. 0  jovaldi/plugin/remote/classes.mk
  52. 0  jovaldi/plugin/remote/rsrc/lib/JSch.jar
  53. 0  jovaldi/plugin/remote/rsrc/lib/JZlib.jar
  54. BIN  jovaldi/plugin/remote/rsrc/lib/dd-plist.jar
  55. 0  jovaldi/plugin/remote/rsrc/lib/j-interop.jar
  56. 0  jovaldi/plugin/remote/rsrc/lib/j-interopdeps.jar
  57. 0  jovaldi/plugin/remote/rsrc/lib/jWbem.jar
  58. 0  jovaldi/plugin/remote/rsrc/lib/jcifs-1.3.15.jar
  59. 0  jovaldi/plugin/remote/rsrc/plugin.properties
  60. 0  jovaldi/plugin/shared/GNUmakefile
  61. 0  jovaldi/plugin/shared/classes.mk
  62. 0  jovaldi/plugin/shared/rsrc/lib/dd-plist.jar
  63. 0  oval-schema/GNUmakefile
  64. 0  oval-schema/docs/introduction.html
  65. 0  oval-schema/rsrc/oval.properties
  66. 0  oval-schema/xsd-5.10/aix-definitions-schema.xsd
  67. 0  oval-schema/xsd-5.10/aix-system-characteristics-schema.xsd
  68. 0  oval-schema/xsd-5.10/apache-definitions-schema.xsd
  69. 0  oval-schema/xsd-5.10/apache-system-characteristics-schema.xsd
  70. 0  oval-schema/xsd-5.10/asset-identification_1.1.0-rc1.xsd
  71. 0  oval-schema/xsd-5.10/bindings.xjb
  72. 0  oval-schema/xsd-5.10/catos-definitions-schema.xsd
  73. 0  oval-schema/xsd-5.10/catos-system-characteristics-schema.xsd
  74. 0  oval-schema/xsd-5.10/esx-definitions-schema.xsd
  75. 0  oval-schema/xsd-5.10/esx-system-characteristics-schema.xsd
  76. 0  oval-schema/xsd-5.10/evaluation-ids.xsd
  77. 0  oval-schema/xsd-5.10/freebsd-definitions-schema.xsd
  78. 0  oval-schema/xsd-5.10/freebsd-system-characteristics-schema.xsd
  79. 0  oval-schema/xsd-5.10/hpux-definitions-schema.xsd
  80. 0  oval-schema/xsd-5.10/hpux-system-characteristics-schema.xsd
  81. 0  oval-schema/xsd-5.10/independent-definitions-schema.xsd
  82. 0  oval-schema/xsd-5.10/independent-system-characteristics-schema.xsd
  83. 0  oval-schema/xsd-5.10/ios-definitions-schema.xsd
  84. 0  oval-schema/xsd-5.10/ios-system-characteristics-schema.xsd
  85. 0  oval-schema/xsd-5.10/linux-definitions-schema.xsd
  86. 0  oval-schema/xsd-5.10/linux-system-characteristics-schema.xsd
  87. 0  oval-schema/xsd-5.10/macos-definitions-schema.xsd
  88. 0  oval-schema/xsd-5.10/macos-system-characteristics-schema.xsd
  89. 0  oval-schema/xsd-5.10/oval-common-schema.xsd
  90. 0  oval-schema/xsd-5.10/oval-definitions-schema.xsd
  91. 0  oval-schema/xsd-5.10/oval-directives-schema.xsd
  92. 0  oval-schema/xsd-5.10/oval-results-schema.xsd
  93. 0  oval-schema/xsd-5.10/oval-system-characteristics-schema.xsd
  94. 0  oval-schema/xsd-5.10/oval-variables-schema.xsd
  95. 0  oval-schema/xsd-5.10/pixos-definitions-schema.xsd
  96. 0  oval-schema/xsd-5.10/pixos-system-characteristics-schema.xsd
  97. 0  oval-schema/xsd-5.10/results_to_html.xsl
  98. 0  oval-schema/xsd-5.10/rpm-linux-definitions-schema.xsd
  99. 0  oval-schema/xsd-5.10/sharepoint-definitions-schema.xsd
  100. 0  oval-schema/xsd-5.10/sharepoint-system-characteristics-schema.xsd
  101. 0  oval-schema/xsd-5.10/solaris-definitions-schema.xsd
  102. 0  oval-schema/xsd-5.10/solaris-system-characteristics-schema.xsd
  103. 0  oval-schema/xsd-5.10/unix-definitions-schema.xsd
  104. 0  oval-schema/xsd-5.10/unix-system-characteristics-schema.xsd
  105. 0  oval-schema/xsd-5.10/windows-definitions-schema.xsd
  106. 0  oval-schema/xsd-5.10/windows-system-characteristics-schema.xsd
  107. 0  oval-schema/xsd-5.10/xmldsig-core-schema.xsd
  108. +1 −1  src/org/joval/io/LocalFilesystem.java
View
0  LICENSE.txt 100755 → 100644
File mode changed
View
0  README.md 100755 → 100644
File mode changed
View
0  SDK/GNUmakefile 100755 → 100644
File mode changed
View
0  SDK/docs/introduction.html 100755 → 100644
File mode changed
View
0  SDK/engine/GNUmakefile 100755 → 100644
File mode changed
View
0  SDK/engine/classes.mk 100755 → 100644
File mode changed
View
0  SDK/engine/rsrc/lib/cal10n-api-0.7.4.jar 100755 → 100644
File mode changed
View
0  SDK/engine/rsrc/lib/slf4j-api-1.6.2.jar 100755 → 100644
File mode changed
View
0  SDK/engine/rsrc/lib/slf4j-ext-1.6.2.jar 100755 → 100644
File mode changed
View
0  SDK/engine/rsrc/lib/slf4j-jdk14-1.6.2.jar 100755 → 100644
File mode changed
View
0  SDK/licenses/GNU_Crypto.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/JSch.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/JZlib.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/Jarapac.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/SLF4J.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/cal10n.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/iWombat.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/j-Interop.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/jOVAL.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/jTDS.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/jWbem.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/jcifs.txt 100755 → 100644
File mode changed
View
0  SDK/licenses/plist.txt 100755 → 100644
File mode changed
View
0  SDK/plugin/GNUmakefile 100755 → 100644
File mode changed
View
0  SDK/plugin/classes.mk 100755 → 100644
File mode changed
View
0  SDK/plugin/rsrc/lib/JSch.jar 100755 → 100644
File mode changed
View
0  SDK/plugin/rsrc/lib/JZlib.jar 100755 → 100644
File mode changed
View
0  SDK/plugin/rsrc/lib/dd-plist.jar 100755 → 100644
File mode changed
View
0  SDK/plugin/rsrc/lib/j-interop.jar 100755 → 100644
File mode changed
View
0  SDK/plugin/rsrc/lib/j-interopdeps.jar 100755 → 100644
File mode changed
View
0  SDK/plugin/rsrc/lib/jWbem.jar 100755 → 100644
File mode changed
View
0  SDK/plugin/rsrc/lib/jcifs-1.3.15.jar 100755 → 100644
File mode changed
View
0  SDK/sample/GNUmakefile 100755 → 100644
File mode changed
View
0  SDK/sample/TrivialScanner.java 100755 → 100644
File mode changed
View
0  SDK/sample/definitions.xml 100755 → 100644
File mode changed
View
0  SDK/sample/logging.properties 100755 → 100644
File mode changed
View
0  SDK/sample/plugin.properties 100755 → 100644
File mode changed
View
2  common.mk 100755 → 100644
@@ -28,7 +28,7 @@ OVAL_SCHEMA_VERSION=5.10
# If your system is 32-bit, set ARCH to x86
#ARCH=x86
ARCH=x64
-JRE_HOME=$(TOP)/../../tools/jre160_27
+JRE_HOME=$(TOP)/../../tools/jre160_26
JAVA=$(JAVA_HOME)/bin/java
JAVAC=$(JAVA_HOME)/bin/javac
JAR=$(JAVA_HOME)/bin/jar
View
0  jovaldi/GNUmakefile 100755 → 100644
File mode changed
View
0  jovaldi/classes.mk 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/GNUmakefile 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/classes.mk 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/rsrc/lib/dd-plist.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/rsrc/lib/jacob-1.15-M4-x64.dll 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/rsrc/lib/jacob-1.15-M4-x86.dll 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/rsrc/lib/jacob.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/rsrc/lib/jna.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/rsrc/lib/platform.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/default/rsrc/plugin.properties 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/GNUmakefile 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/classes.mk 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/rsrc/lib/JSch.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/rsrc/lib/JZlib.jar 100755 → 100644
File mode changed
View
BIN  jovaldi/plugin/remote/rsrc/lib/dd-plist.jar
Binary file not shown
View
0  jovaldi/plugin/remote/rsrc/lib/j-interop.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/rsrc/lib/j-interopdeps.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/rsrc/lib/jWbem.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/rsrc/lib/jcifs-1.3.15.jar 100755 → 100644
File mode changed
View
0  jovaldi/plugin/remote/rsrc/plugin.properties 100755 → 100644
File mode changed
View
0  jovaldi/plugin/shared/GNUmakefile 100755 → 100644
File mode changed
View
0  jovaldi/plugin/shared/classes.mk 100755 → 100644
File mode changed
View
0  jovaldi/plugin/shared/rsrc/lib/dd-plist.jar 100755 → 100644
File mode changed
View
0  oval-schema/GNUmakefile 100755 → 100644
File mode changed
View
0  oval-schema/docs/introduction.html 100755 → 100644
File mode changed
View
0  oval-schema/rsrc/oval.properties 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/aix-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/aix-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/apache-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/apache-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/asset-identification_1.1.0-rc1.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/bindings.xjb 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/catos-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/catos-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/esx-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/esx-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/evaluation-ids.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/freebsd-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/freebsd-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/hpux-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/hpux-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/independent-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/independent-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/ios-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/ios-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/linux-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/linux-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/macos-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/macos-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/oval-common-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/oval-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/oval-directives-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/oval-results-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/oval-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/oval-variables-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/pixos-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/pixos-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/results_to_html.xsl 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/rpm-linux-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/sharepoint-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/sharepoint-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/solaris-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/solaris-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/unix-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/unix-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/windows-definitions-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/windows-system-characteristics-schema.xsd 100755 → 100644
File mode changed
View
0  oval-schema/xsd-5.10/xmldsig-core-schema.xsd 100755 → 100644
File mode changed
View
2  src/org/joval/io/LocalFilesystem.java
@@ -130,7 +130,7 @@ public IFile getFile(String path) throws IllegalArgumentException, IOException {
}
}
throw new IllegalArgumentException(JOVALSystem.getMessage(JOVALMsg.ERROR_FS_LOCALPATH, realPath));
- } else if (realPath.charAt(0) == File.separatorChar) {
+ } else if (realPath.length() > 0 && realPath.charAt(0) == File.separatorChar) {
return new FileProxy(this, new File(realPath), path);
} else {
throw new IllegalArgumentException(JOVALSystem.getMessage(JOVALMsg.ERROR_FS_LOCALPATH, realPath));
Please sign in to comment.
Something went wrong with that request. Please try again.