Crashes when methods are called with wrong arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
go-dbus |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-push (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
A method that takes zero or more strings was being called with an empty array instead, crashing inside AllArgs:
panic: Buffer too small
goroutine 37 [running]:
runtime.
launchpad.
launchpad.
created by launchpad.
goroutine 1 [select]:
launchpad.
launchpad.
main.main()
Related branches
- John Lenton: Approve
-
Diff: 73 lines (+13/-9)2 files modifieddecoder.go (+2/-9)
decoder_test.go (+11/-0)
Changed in go-dbus: | |
status: | New → In Progress |
Changed in go-dbus: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-push: | |
status: | New → In Progress |
Changed in go-dbus: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-push: | |
status: | In Progress → New |
affects: | ubuntu-push → ubuntu-push (Ubuntu) |
“doctor, it panics when I do this”
Well don't do that then.