Commit: 464d45524bf6a34a574969a7b9dbae3137054d85
Parent: cba1ba28cec78b798d7918d6eb2a3ac6c9c93946
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-04-09 17:35:20
Tree: 7fba1bf490fef357208960d648e38ccfba018eda

gdbus: Fix crash in g_dbus_create_error_valist Passing NULL format parameter to vsnprintf results in invalid argument error on glibc. But with some other libc libraries (musl and uClibc) this results in dereferencing NULL pointer and crash due to segmentation fault.

Diffstat

M gdbus/object.c | 5 ++++-

1 files changed, 4 insertions(+), 1 deletions(-)

View Full Diff | Patch