mdbus2 core dumps on invalid bus name ending with period (.)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdbus (Ubuntu) |
Fix Released
|
Undecided
|
Simon Fels |
Bug Description
A simple bug irritating issue. A mistyped bus name should not result in a core dump.
Actual output:
magnusi@sthihse:~$ mdbus2 org.foo.
process 7181: arguments to dbus_message_
This is normally a bug in some application using the D-Bus library.
** ERROR **: Out of memory
aborting...
Aborted (core dumped)
magnusi@sthihse:~$
Expected output:
magnusi@sthihse:~$ mdbus2 org.foo
[ERR]: The name org.foo was not provided by any .service files
/
magnusi@sthihse:~$
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: mdbus2 2.0.2-1ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-11-generic x86_64
Architecture: amd64
Date: Thu Sep 22 13:16:54 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: mdbus
UpgradeStatus: No upgrade log present (probably fresh install)
This is already fixed upstream and should be closed with the next upload to Debian.