Daniel1of1 / CSwiftV

A csv parser written in swift conforming to rfc4180
BSD 3-Clause "New" or "Revised" License
171 stars 46 forks source link

Prevent out of bounds crash for keyedRows. #27

Closed diatche closed 8 years ago

diatche commented 8 years ago

When a value row is longer than the header row, an out of bounds exception will be thrown. In this case, the value should be ignored.

Daniel1of1 commented 8 years ago

oh good one, thanks a lot 😸. Happy to merge as is, however, if you feel like doing a little more, could you add a test case for it?

diatche commented 8 years ago

Yeah no probs

пн, 19 сент. 2016 г. в 22:48, Daniel Haight notifications@github.com:

oh good one, thanks a lot 😸. Happy to merge as is, however, if you feel like doing a little more, could you add a test case for it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Daniel1of1/CSwiftV/pull/27#issuecomment-248102463, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUMBqWBzrB79C-6eYstx9zgDpnBFkZKks5qrub1gaJpZM4J_5hs .

Daniel1of1 commented 8 years ago

Awesome - thanks a lot 👍