diff options
author | Michael Dardis <git@md-5.net> | 2020-03-04 15:25:09 +1100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-03-04 16:34:01 +0100 |
commit | d7f304045af2f602c5b0c1a26d2c7f643753cf8f (patch) | |
tree | 1d16efc26e1fa0ae8f0587647557cb0b2ff20cee /org.eclipse.jgit/resources | |
parent | 95fd662dd3f5a0808cacc8066a0f43f15684301d (diff) | |
download | jgit-d7f304045af2f602c5b0c1a26d2c7f643753cf8f.tar.gz jgit-d7f304045af2f602c5b0c1a26d2c7f643753cf8f.zip |
Add validation to hex decoder
Does not fix any issue but prevents user from shooting themselves in the
foot with improper configuration.
Suggested by Demetr Starshov at https://git.eclipse.org/r/#/c/157681/
Change-Id: I006d65022f0a7d4066970825d00080c59404fdc3
Signed-off-by: Michael Dardis <git@md-5.net>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/resources')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties index 153399ca34..1218ee612d 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -354,6 +354,7 @@ invalidFilter=Invalid filter: {0} invalidGitdirRef = Invalid .git reference in file ''{0}'' invalidGitModules=Invalid .gitmodules file invalidGitType=invalid git type: {0} +invalidHexString=Invalid hex string: {0} invalidHooksPath=Invalid git config core.hooksPath = {0} invalidId=Invalid id: {0} invalidId0=Invalid id |