Skip to content

Critical ArrayIndexOutOfBoundsException in Image Processing #468

@BigBraveKnight

Description

@BigBraveKnight

Critical array index out of bounds exception discovered in Haven's image processing module during automated testing. The crash occurs in ImageCodec.N21toLuma()method when processing specific image data patterns.

  • Error Details
    Exception: java.lang.ArrayIndexOutOfBoundsException: length=460800; index=460800

  • Location:
    Method: ImageCodec.N21toLuma()
    File: ImageCodec.java:27
    Component: Image processing pipeline

  • Stack Trace:

    java.lang.ArrayIndexOutOfBoundsException: length=460800; index=460800
        at org.havenapp.main.sensors.media.ImageCodec.N21toLuma(ImageCodec.java:27)
        at org.havenapp.main.sensors.motion.MotionDetector.detect(MotionDetector.java:79)
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions