mash / go-intelhex

Intel HEX file format parser/formatter in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lib crash if trying to decode end-of-file marker

landru29 opened this issue · comments

if trying this:

``package main

import (
"fmt"
"github.com/mash/go-intelhex"
)

func main() {
_, records := intelhex.ParseString(":00000001FF")
for record := range records {
fmt.Printf("%v\n", record)
}
}``

the program will crash

Thanks for the feedback