Project

General

Profile

Bug #682522

NULL filename to fileinfoname() crashes in WIN32_NATIVE

Added by Marko Lindqvist 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
Start date:
Due date:
% Done:

0%


Description

fileinfoname() does strlen(filename) in a #ifdef WIN32_NATIVE block without checking if the filename is NULL. NULL filename is supported and documented feature of fileinfoname().

0010-Fix-fileinfoname-crash-in-WIN32_NATIVE.patch View - master, S3_0 (1.13 KB) Marko Lindqvist, 2017-07-12 12:52 AM

0003-Fix-fileinfoname-crash-in-WIN32_NATIVE.patch View - S2_6 (1.11 KB) Marko Lindqvist, 2017-07-12 12:52 AM

History

#1 Updated by Marko Lindqvist 3 months ago

#2 Updated by Marko Lindqvist 2 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF