hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Isaacson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3643) hdfsJniHelper.c unchecked string pointers
Date Thu, 12 Jul 2012 00:19:35 GMT
Andy Isaacson created HDFS-3643:
-----------------------------------

             Summary: hdfsJniHelper.c unchecked string pointers
                 Key: HDFS-3643
                 URL: https://issues.apache.org/jira/browse/HDFS-3643
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Andy Isaacson
            Assignee: Andy Isaacson


{code}
    str = methSignature;
    while (*str != ')') str++;
    str++;
    returnType = *str;
{code}
This loop needs to check for {{'\0'}}. Also the following {{if/else if/else if}} cascade doesn't
handle unexpected values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message