Skip Menu |
 

This queue is for tickets about the Parse-HTTP-UserAgent CPAN distribution.

Report information
The Basics
Id: 72159
Status: resolved
Priority: 0/
Queue: Parse-HTTP-UserAgent

People
Owner: Nobody in particular
Requestors: 1and1 [...] canadaballoons.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From arshir [...] gmail.com Thu Nov 3 23: 06:14 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.11 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <CAOuTWOfPTcazwPD6zR0dNmy5HSWnG1ki7vfv_i4W6gRSOSf5_g [...] mail.gmail.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.11
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id C235F240D22 for <cpan-bug+Parse-HTTP-UserAgent [...] hipster.bestpractical.com>; Thu, 3 Nov 2011 23:06:14 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dkCB+2wpA8jK for <cpan-bug+Parse-HTTP-UserAgent [...] hipster.bestpractical.com>; Thu, 3 Nov 2011 23:06:13 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 17447240D14 for <bug-Parse-HTTP-UserAgent [...] rt.cpan.org>; Thu, 3 Nov 2011 23:06:12 -0400 (EDT)
Received: (qmail 6262 invoked by uid 103); 4 Nov 2011 03:06:12 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 4 Nov 2011 03:06:12 -0000
Received: from mail-ww0-f42.google.com (HELO mail-ww0-f42.google.com) (74.125.82.42) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 03 Nov 2011 20:06:08 -0700
Received: by wwf22 with SMTP id 22so1562043wwf.3 for <bug-Parse-HTTP-UserAgent [...] rt.cpan.org>; Thu, 03 Nov 2011 20:06:05 -0700 (PDT)
Received: by 10.227.57.67 with SMTP id b3mr15449896wbh.9.1320375965083; Thu, 03 Nov 2011 20:06:05 -0700 (PDT)
Received: by 10.227.133.7 with HTTP; Thu, 3 Nov 2011 20:05:44 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Parse-HTTP-UserAgent [...] hipster.bestpractical.com
Subject: Warning with 64 bit Perl or Perl 5.14.1
Return-Path: <arshir [...] gmail.com>
X-RT-Mail-Extension: parse-http-useragent
X-Original-To: cpan-bug+Parse-HTTP-UserAgent [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=5T49USKzG9outgGcie/6dHfbs8rDDOrgRf7hUrLY3pg=; b=J/0khzckEMwn7iJfXtjOFa/XdJ7M1mRC87xNWwiJ7bavUz0xIOB24L8eNdnsRHb3eC 4AZdE3Wzs+vDEZ4RyTZNiYrf9KH2Q8Yb3HPXbH/SAI464VO1KdG9SSbDHBDb+xKcxCBb W4e19nkFFCL+g3Ao5Iv+IdgLWRHEa/yQgc5IM=
X-Google-Sender-Auth: wASc7DlgLwAfvHsd8_HlyEwhSwg
Date: Thu, 3 Nov 2011 23:05:44 -0400
Sender: arshir [...] gmail.com
X-Spam-Level:
To: bug-Parse-HTTP-UserAgent [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Arsen Shirokov <1and1 [...] canadaballoons.com>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 1066
When parsing the below UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2 with 64 bit ActiveState Perl 5.14.1: This is perl 5, version 14, subversion 1 (v5.14.1) built for MSWin32-x64-multi-thread (with 1 registered patch, see perl -V for more detail) Binary build 1401 [294969] provided by ActiveState http://www.ActiveState.com Built Jun 16 2011 17:28:49 a warning is generated: Use of uninitialized value in numeric eq (==) at Parse/HTTP/UserAgent/Base/Parsers.pm line 181. Other UserAgents I've seen so far parse without warnings. Also, the same UserAgent parses without warnings on 32 bit ActiveState Perl 5.12.2: This is perl 5, version 12, subversion 2 (v5.12.2) built for MSWin32-x86-multi-thread (with 8 registered patches, see perl -V for more detail) Binary build 1203 [294165] provided by ActiveState http://www.ActiveState.com Built Dec  9 2010 04:03:28 Sorry, can't compare between 32 and 64 bit Perl of the same exact version, so, not sure if this is caused by 5.14.1 or by 64 bit.
MIME-Version: 1.0
In-Reply-To: <CAOuTWOfPTcazwPD6zR0dNmy5HSWnG1ki7vfv_i4W6gRSOSf5_g [...] mail.gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <CAOuTWOfPTcazwPD6zR0dNmy5HSWnG1ki7vfv_i4W6gRSOSf5_g [...] mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2602-1320540374-541.72159-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 424
Download (untitled) / with headers
text/plain 424b
03 Kas 2011 Prş, 23:06:15 tarihinde, 1and1@canadaballoons.com yazdı: Show quoted text
> Sorry, can't compare between 32 and 64 bit Perl of the same exact > version, so, not sure if this is caused by 5.14.1 or by 64 bit.
Hi, 5.12 seems to be buggy in this regard. It does not warn when undef is passed to length(). 5.10 and 5.14 indeed warns. The issue is fixed in v0.32, which'll be available in the mirrors shortly. Thanks, Burak


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.