GNOME Bugzilla – Bug 674322
gupnp-protocol-info.c:parse_additional_info contains a possible memory corruption error
Last modified: 2019-02-22 05:57:44 UTC
Created attachment 212283 [details] [review] Patch to fix a memory corruption error in gupnp-protocol-info.c The problem occurs when parsing a protocol info string whose additional info contains a DLNA.ORG_FLAGS value that is less than 8 characters in length, e.g.,:::DLNA.ORG_FLAGS= I realise this string is invalid but I guess there is nothing stopping a malicious or a broken DMS from specifying such a value.
Review of attachment 212283 [details] [review]: Ok
Created attachment 212292 [details] [review] Version 2 of the patch, containing spaces instead of tabs I've updated the patch to use spaces instead of tabs. My editor was incorrectly configured when I created the first patch.