Skip to content

Fix int32 overflows / Add int64 combatibility #105

@ofgulban

Description

@ofgulban

This is a note for future reference. Older LayNii programs does not work with very large Nifti files (larger than 4 Gb). This is because int32 overflow in data read.

In preparation to v2.9.0 release, we have fixed the integer overflow issues by adding 64-bit compatibility in:

  • LN_BOCO
  • LN_SKEW
  • LN_TRIAL
  • LN_CORREL2FILES
  • LN2_PATCH_FLATTEN
  • and in laynii_lib nifti read write.

Priority has been given to the programs that Renzo and I immediately need to use on very large FRISGO dataset.

We will be adding 64-bit compatibility to other LayNii programs over time, and on need basis. This issue is intended to keep a list of the programs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions