mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 15:27:18 +00:00
ODS2: Fix malloc assertion fail encountered in copy
RFM VAR marker size computed incorrectly Fixes #10
This commit is contained in:
parent
0a850cad48
commit
6d42eb35fd
@ -1730,7 +1730,7 @@ vmscond_t sys_put( struct RAB *rab ) {
|
||||
break;
|
||||
default:
|
||||
if( rfmvar &&
|
||||
( (blocks * 512) >= (offset + 2 + (offset & 1)) ) ) {
|
||||
( (blocks * 512) > (offset + 2 + (offset & 1)) ) ) {
|
||||
buffer[(offset|1)+0] = -1;
|
||||
buffer[(offset|1)+1] = -1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user