[riot-notifications] [RIOT-OS/RIOT] net/sock_util: Accept NULL pointers in urlsplit (#11677)

Leandro Lanzieri notifications at github.com
Wed Jun 12 09:39:00 CEST 2019


leandrolanzieri commented on this pull request.



> @@ -116,30 +117,33 @@ static char* _find_pathstart(const char *url)
 
 int sock_urlsplit(const char *url, char *hostport, char *urlpath)
 {
+    assert(url != NULL);

Added

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11677#discussion_r292780965
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190612/fdcb2016/attachment.html>


More information about the notifications mailing list