You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2015/12/07 14:18:37 UTC

[Bug 7272] New: Use of uninitialized value $file in File::Spec->catpath

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7272

            Bug ID: 7272
           Summary: Use of uninitialized value $file in
                    File::Spec->catpath
           Product: Spamassassin
           Version: 3.4.1
          Hardware: PC
                OS: Windows 7
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: puppe@jam-software.com

When calling any of the SpamAssassin tools (except spamd) with a path
containing a volume (i.e. "C:\path\to\sa-update"), a "uninitialized value"
warning is printed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7272] Use of uninitialized value $file in File::Spec->catpath

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7272

Kevin A. McGrail <km...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |kmcgrail@apache.org

--- Comment #2 from Kevin A. McGrail <km...@apache.org> ---
Thanks Martin, committed.

3.4
Committed revision 1838992.
Trunk:
Committed revision 1838993.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7272] Use of uninitialized value $file in File::Spec->catpath

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7272

Martin Puppe <pu...@jam-software.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |puppe@jam-software.com

--- Comment #1 from Martin Puppe <pu...@jam-software.com> ---
Created attachment 5355
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5355&action=edit
patch, fixes the warning

The attached patch fixes the warning by always supplying a file portion to
File::Spec->catpath()

-- 
You are receiving this mail because:
You are the assignee for the bug.