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
On Thu, 13 Aug 2020, 11:09 int01, ***@***.***> wrote:
Hi,
The address parser (mail/rfc5321/parse.go) hangs in some cases.
This code will hangs.
package main
import (
"github.com/flashmob/go-guerrilla/mail"
)
func main() {
mail.NewAddress("test")
}
You need to fix next() function.
func (s *Parser) next() byte {
if s.pos+1 < len(s.buf) {
s.pos++
s.ch = s.buf[s.pos]
} else {
s.ch = 0
}
return s.ch
}
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#212>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE6MPZPUIK2IF6JOVLFMPTSANDMNANCNFSM4P5TURRA>
.
Hi,
The address parser (mail/rfc5321/parse.go) hangs in some cases.
This code will hang.
You need to fix next() function.
Thanks.
The text was updated successfully, but these errors were encountered: