jira-importer commented on issue #459:
URL: https://github.com/apache/maven-indexer/issues/459#issuecomment-2965142881

   **[Tamas 
Cservenak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cstamas)**
 commented
   
   Added to IndexDataReader.readUtf() to make code more robust to junk inputs:
   
   ```
           byte[] bytearr;
           char[] chararr;
   
           try
           {
               bytearr = new byte[utflen];
               chararr = new char[utflen];
           }
           catch ( OutOfMemoryError e )
           {
               final IOException ex =
                   new IOException(
                       "Index data content is inappropriate (is junk?), leads 
to OutOfMemoryError! See MINDEXER-28 for more information!" );
               e.initCause( e );
               throw ex;
           }
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to