jehugaleahsa / FlatFiles

Reads and writes CSV, fixed-length and other flat file formats with a focus on schema definition, configuration and speed.
The Unlicense
357 stars 64 forks source link

DataRecordExtensions.GetNullableString(this IDataRecord record, int i) is recursive #33

Closed pbolduc closed 6 years ago

pbolduc commented 6 years ago

This function looks to be a recursive call with no exit. Calling it would throw StackOverflowException.

https://github.com/jehugaleahsa/FlatFiles/blob/0086bae78d29139e1063b4c915c383121e96e12f/FlatFiles/DataRecordExtensions.cs#L628-L631

jehugaleahsa commented 6 years ago

Thanks for the heads up. I added some additional tests and pushed 3.0.1.