[Issue 24478] New: std.csv array out of bounds when row size exceeds header

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 2 19:26:26 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24478

          Issue ID: 24478
           Summary: std.csv array out of bounds when row size exceeds
                    header
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: dkorpel at live.nl

When you iterate over a `csvReader!(string[string])("A, B\n1, 2, 3", null)`, an
ArrayIndexError is thrown. Malformed user input should raise an Exception, not
an Error.

--


More information about the Digitalmars-d-bugs mailing list