lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #6765] Supporting new line characters in inet_aton()


From: Kieran Mansley
Subject: [lwip-devel] [patch #6765] Supporting new line characters in inet_aton()
Date: Thu, 09 Apr 2009 15:25:31 +0000
User-agent: Opera/9.21 (X11; Linux i686; U; en)

Follow-up Comment #1, patch #6765 (project lwip):

Anyone got any objections to this?  The proposed patch does allow all
characters with ascii code < 0x20 to be accepted, not just n and r.  It's not
clear to me what the original line was trying to achieve:

  /*
   * Check for trailing characters.
   */
  if (c != ' ' && (!isprint(c) || !isspace(c)))
    return (0);

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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