Opened 15 years ago

Closed 15 years ago

#81 closed defect (fixed)

atlod and uvcat abort when flag table gets too big

Reported by: MarkWieringa Owned by: MarkWieringa
Priority: major Milestone:
Component: MIRIAD - CABB branch Version:
Keywords: atlod, uvcat Cc:
Estimated Number of Hours: 20 Add Hours to Ticket: 0
Billable?: yes Total Hours: 15

Description

both atlod and uvcat abort with an 'invalid argument' error when the size of the flag table reaches about 265MB.

On debugging this it was found routine mkflush_c in maskio.c has an integer overflow issue when the bit offset into the file reaches 231.

Change History (1)

comment:1 Changed 15 years ago by MarkWieringa

Resolution: fixed
Status: newclosed
Total Hours: 015

The relevant integers were changed to size_t, similar to code elsewhere in miriad. This fixed the problem.

Note: See TracTickets for help on using tickets.