Skip to content

Commit

Permalink
Mention the new supported targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed May 26, 2024
1 parent c8f16a0 commit cea7806
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/m3u8.c
Original file line number Diff line number Diff line change
Expand Up @@ -3262,6 +3262,10 @@ int m3u8_dump_callback(
break;
}
case M3U8_VATTR_TYPE_QSTRING: {
if (attribute->type == M3U8_ATTRIBUTE_URI) {
uri_ensure_slashes(attribute->value);
}

if ((strlen(attribute->value) + 2 + 1) > sizeof(tmp)) {
return M3U8ERR_BUFFER_OVERFLOW;
}
Expand Down

0 comments on commit cea7806

Please sign in to comment.