[vlc-devel] [PATCH 0/2] Fix URL option parsing

Hugo Beauzée-Luyssen hugo at beauzee.fr
Tue Mar 10 15:45:02 CET 2015


vlc_UrlParse's options parsing seems to be broken.
The attached addition to the test suite shows that psz_option is always NULL, 
which makes sense since we're using strchr on a string that has been forced 
to contain nothing but a '\0'

Hugo Beauzée-Luyssen (2):
  Add vlc_UrlParse tests
  text: url: Fix options parsing

 src/test/url.c | 26 ++++++++++++++++++++++++++
 src/text/url.c |  2 +-
 2 files changed, 27 insertions(+), 1 deletion(-)


More information about the vlc-devel mailing list