Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on build feed xml in some cases #128

Closed
Rpsl opened this issue Apr 18, 2020 · 0 comments
Closed

crash on build feed xml in some cases #128

Rpsl opened this issue Apr 18, 2020 · 0 comments
Labels
A-feed Area: iTunes XML feed C-bug Category: This is a bug P-critical Critical priority

Comments

@Rpsl
Copy link
Contributor

Rpsl commented Apr 18, 2020

panic: runtime error: slice bounds out of range [:4000] with capacity 3392

goroutine 68 [running]:
github.com/eduncan911/podcast.(*Item).AddSummary(...)
	/path/go/pkg/mod/github.com/eduncan911/podcast@v1.3.0/item.go:93
github.com/mxpv/podsync/pkg/feed.Build(0x1773b20, 0xc00018a0c0, 0xc005912420, 0xc0001c20c0, 0x7e66840, 0xc005646520, 0x0, 0x0, 0x0)
	/path/go/src/github.com/rpsl/podsync/pkg/feed/build.go:81 +0x1373
main.(*Updater).buildXML(0xc0000302c0, 0x1773b20, 0xc00018a0c0, 0xc0001c20c0, 0x0, 0x0)
	/path/go/src/github.com/rpsl/podsync/cmd/podsync/updater.go:246 +0x164
main.(*Updater).Update(0xc0000302c0, 0x1773b20, 0xc00018a0c0, 0xc0001c20c0, 0x1, 0x0)
	/path/go/src/github.com/rpsl/podsync/cmd/podsync/updater.go:62 +0x38a
main.main.func1(0x0, 0x0)
	/path/go/src/github.com/rpsl/podsync/cmd/podsync/main.go:135 +0x17d
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001823f0, 0xc000030300)
	/path/go/pkg/mod/golang.org/x/sync@v0.0.0-20190423024810-112230192c58/errgroup/errgroup.go:57 +0x59
created by golang.org/x/sync/errgroup.(*Group).Go
	/path/go/pkg/mod/golang.org/x/sync@v0.0.0-20190423024810-112230192c58/errgroup/errgroup.go:54 +0x66
exit status 2

It's going on some Items with description written on non latin utf8 chars.

it's was be fixed in version 1.3.1 of eduncan911/podcast

need to update dependence

Rpsl added a commit to Rpsl/podsync that referenced this issue Apr 18, 2020
[*] update dependence "eduncan911/podcast" to v1.4.2
@mxpv mxpv added A-feed Area: iTunes XML feed C-bug Category: This is a bug P-critical Critical priority labels Apr 18, 2020
mxpv pushed a commit that referenced this issue Apr 18, 2020
Update "eduncan911/podcast" to v1.4.2
@mxpv mxpv closed this as completed Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-feed Area: iTunes XML feed C-bug Category: This is a bug P-critical Critical priority
Projects
None yet
Development

No branches or pull requests

2 participants