diff options
Diffstat (limited to 'TAO/utils')
-rw-r--r-- | TAO/utils/IOR-parser/ior-handler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/utils/IOR-parser/ior-handler.cpp b/TAO/utils/IOR-parser/ior-handler.cpp index d8e1bf7bd28..dc6b1262c2c 100644 --- a/TAO/utils/IOR-parser/ior-handler.cpp +++ b/TAO/utils/IOR-parser/ior-handler.cpp @@ -28,6 +28,7 @@ IorHandler::hexChar2int (char thisChar) case 'e': return (14); case 'f': return (15); } + return -1; } u_long @@ -121,7 +122,7 @@ IorHandler::skipSpaceIfAny(char *readPtr, int *hexCharsRead) void IorHandler::skipNullOctets (char *readPtr, int *hexCharsRead, int expectingStr) { - char nullOctet[2]; + char nullOctet[4]; int offset; *hexCharsRead = 0; @@ -163,9 +164,7 @@ int IorHandler::findIfVisiIor(char *readPtr, int *hexCharsRead) { char nullOctet[2]; - char visiPreamble[6]; int offset; - int visiPreambleLen = 5; int hasVisiPreamble = 0; *hexCharsRead = 0; |