Bug 7272 - Use of uninitialized value $file in File::Spec->catpath
Summary: Use of uninitialized value $file in File::Spec->catpath
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 3.4.1
Hardware: PC Windows 7
: P2 minor
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-07 13:18 UTC by Martin Puppe
Modified: 2018-08-24 23:59 UTC (History)
2 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status
patch, fixes the warning patch None Martin Puppe [HasCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Puppe 2015-12-07 13:18:37 UTC
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.
Comment 1 Martin Puppe 2015-12-07 13:19:46 UTC
Created attachment 5355 [details]
patch, fixes the warning

The attached patch fixes the warning by always supplying a file portion to File::Spec->catpath()
Comment 2 Kevin A. McGrail 2018-08-24 23:59:04 UTC
Thanks Martin, committed.

3.4
Committed revision 1838992.
Trunk:
Committed revision 1838993.