Skip to content

Potential bug in empty column computations in DataFrame #5836

@pgovind

Description

@pgovind

If a PrimitiveDataFrameColumn<T> is empty, and CumulativeMax is called, a null dereference may occur and cause a crash. See https://source.dot.net/#Microsoft.Data.Analysis/PrimitiveDataFrameColumnComputations.cs,264

The fix is simple, but it needs to be applied to the tt file. Many computation APIs are affected. The fix should also apply to DateTImeComputations.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions