Files
ResInsight/ThirdParty
Kristian Bendiksen 545d827774 #12654 Las import: fix crash for files with CR/LF on linux
The file in question had a "empty" line with CR/LF line ending at
the end of the file.

When reading this on linux (using getline) you get a non-empty string
containing the CR token. For these cases GetRecord returns true
with a empty record vector, and this expected in the calling code.

Crash happens when accessing the first (non-existing) element of the
empty vector when trying to provide error message.

Fixed by having GetRecord return false when vector is empty.

Fixes #12654.
2025-07-30 13:44:18 +02:00
..
2025-05-14 06:57:25 +02:00
2024-04-22 19:56:10 +02:00
2024-11-13 11:31:18 +01:00
2024-04-16 15:32:55 +02:00