You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test file can be generated using the following python script:
nrows = 2100 # need >2000 in order to trigger nJumps==10
ncols = 1024 * 16 # "round" number increases probability that
# `sizes` array will not be overallocated
row = ','.join(list('abcdefghijklmnop') * int(ncols / 16))
rows = [row] * nrows
rows[111] += ","
src = "\n".join(rows)
open("test.txt", "w").write(src)
Then
> for(b in 1:100){ fread("test.txt", header=F) -> DT }
*** caught bus error ***
address 0x7fd839704e40, cause 'non-existent physical address'
The primary cause are the following lines in "TEPID" section of freadMain:
Here j can be equal to ncol, which causes OOB access in array size, and even if that succeeds by accident, the retrieved value thisSize can be anything, causing OOB access on array targets.
The text was updated successfully, but these errors were encountered:
Test file can be generated using the following python script:
Then
The primary cause are the following lines in "TEPID" section of freadMain:
Here
j
can be equal toncol
, which causes OOB access in arraysize
, and even if that succeeds by accident, the retrieved valuethisSize
can be anything, causing OOB access on arraytargets
.The text was updated successfully, but these errors were encountered: