Yair Zaslavsky has uploaded a new change for review.

Change subject: core: Add missing encoding in CTOR
......................................................................

core: Add missing encoding in CTOR

This was found by coverity -
InputStreamReader should receive as an argument the
charset encoding

Change-Id: I3c964c24375a2727222ec91a7d7c10fdc4a0032d
Signed-off-by: Yair Zaslavsky <yzasl...@redhat.com>
---
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/64/25364/1

diff --git 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
index 31bcada..bac3371 100644
--- 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
+++ 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
@@ -168,7 +168,7 @@
             // Fill in [domain_realm] section from the provided file at 
engine-manage-domains.conf
             // This can be useful in case the realm is not an upper case of 
the domain
             try (BufferedReader reader =
-                    new BufferedReader(new InputStreamReader(new 
FileInputStream(domainRealmMappingFile)))) {
+                    new BufferedReader(new InputStreamReader(new 
FileInputStream(domainRealmMappingFile), "UTF-8"))) {
                 while (true) {
                     String readLine = reader.readLine();
                     if (readLine == null) {


-- 
To view, visit http://gerrit.ovirt.org/25364
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c964c24375a2727222ec91a7d7c10fdc4a0032d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to