bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used


From: Lennart Borgman
Subject: bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used as a string
Date: Fri, 3 Dec 2010 19:21:52 +0100

The function looks like

  (defun url-cookie-retrieve (host &optional localpart secure)

However localpart is used without checking it in

            (if (and (if (stringp localpart-match)
                         (string-match (concat "^" (regexp-quote
                                                    localpart-match))
                                       localpart)

Should not both localpart-match and localpart be checked with (stringp ...)?

This is with a checkout from 2010-10-19 (my patched version, I don't
think I have any changes there).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]