GNOME Bugzilla – Bug 604872
[udpsink] Add missing 'gssize len' parameter to g_convert()
Last modified: 2010-02-09 09:57:10 UTC
g_convert is missing the lenght parameter Attached proposed patch
Created attachment 149953 [details] [review] Proposed path
Created attachment 149954 [details] [review] Proposed patch
Created attachment 149955 [details] [review] Proposed patch using sizeof instead of strlen This is probably a better fix
Created attachment 149956 [details] [review] Proposed patch using sizeof instead of strlen I sent twice the same patch...
Or maybe sizeof (buf) / sizeof (wchar_t)?
Neither of those are exactly right; in this case we want to pass -1 to indicate 'input buffer is null terminated'. Pushed; this should work now. Thanks for pointing that out.