apexsink: Fix buffer overflow, in case anyone ever ports it.
authorJan Schmidt <jan@centricular.com>
Thu, 16 Apr 2015 12:43:54 +0000 (22:43 +1000)
committerJan Schmidt <jan@centricular.com>
Thu, 16 Apr 2015 12:45:31 +0000 (22:45 +1000)
commit9e1135e209d798a6ebee2b415acc8c6535d3befc
tree4e0706ab02b7505279408b99bbcc7e4f79f149f0
parentd84d803431c834cd30b8878da82409d29f56443f
apexsink: Fix buffer overflow, in case anyone ever ports it.

Fix a simple buffer overflow - 16 bytes isn't enough to hold
the string representation of a gulong on x86_64. I guess the
intent was to generate a 32 bit random key, so let's do that.

Only matters if anyone ever ports the sink to 1.x

https://bugzilla.gnome.org/show_bug.cgi?id=676524
ext/apexsink/gstapexraop.c