Ticket #2759 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Address is not a valid IPv4 or IPv6 address

Reported by: Denis-de-Bernardy Assigned to: anonymous
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0.4
Severity: normal Keywords: has-patch
Cc:

Description

when moderating a comment from a cybercoffee, I got the following error:


Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/www/blogue-energie-eolienne.org/wp-includes/pluggable-functions.php on line 303

Warning: Cannot modify header information - headers already sent by (output started at /home/www/blogue-energie-eolienne.org/wp-includes/pluggable-functions.php:303) in /home/www/blogue-energie-eolienne.org/wp-admin/moderation.php on line 71

Attachments

silence_gethostbyaddr.diff (1.1 kB) - added by markjaquith on 10/03/06 22:22:56.
Patch for /trunk/

Change History

06/01/06 13:45:31 changed by markjaquith

What was the invalid IP address?

06/01/06 20:36:33 changed by skeltoac

What is in your pluggable-functions.php on line 303?

10/03/06 13:52:26 changed by Nazgul

  • status changed from new to closed.
  • resolution set to worksforme.

Without more info I'll have to close this as a worksforme.

If you have additional information, please feel free to reopen this ticket.

10/03/06 22:22:56 changed by markjaquith

  • attachment silence_gethostbyaddr.diff added.

Patch for /trunk/

10/03/06 22:23:30 changed by markjaquith

  • status changed from closed to reopened.
  • version changed from 2.0.2 to 2.0.4.
  • resolution deleted.
  • milestone set to 2.1.

Maybe just silence the gethostbyaddr() calls.

10/03/06 22:47:31 changed by Nazgul

  • keywords set to has-patch.

Sounds like a good idea.

10/04/06 03:05:48 changed by ryan

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [4287]) Silence gethostbyaddr(). Props MarkJaquith?. fixes #2759

10/04/06 03:05:56 changed by ryan

(In [4288]) Silence gethostbyaddr(). Props MarkJaquith?. fixes #2759