Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-28794

Defects instantiation creates undefined/infinite bbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ip_isr
    • Labels:
      None
    • Story Points:
      1
    • Epic Link:
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      In https://github.com/lsst/ip_isr/blob/master/python/lsst/ip/isr/defects.py#L189-L200 if you start a new Defects object, then minX, maxX, minY, maxY are all infinities. Pushing these values into Point2I leads to undefined behavior, and it's only luck that this doesn't crash on x86.

        Attachments

          Activity

          Show
          czw Christopher Waters added a comment - https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/33963/pipeline

            People

            Assignee:
            czw Christopher Waters
            Reporter:
            erykoff Eli Rykoff
            Reviewers:
            Eli Rykoff
            Watchers:
            Christopher Waters, Eli Rykoff, Merlin Fisher-Levine
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.