Issue 151 in mp4v2: Cannot use non-canonical full path name on win32

23 views
Skip to first unread message

mp...@googlecode.com

unread,
Dec 17, 2012, 7:58:04 PM12/17/12
to mp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 151 by honeycom...@gmail.com: Cannot use non-canonical full path
name on win32
http://code.google.com/p/mp4v2/issues/detail?id=151

Non-canonical paths such as C:\foo\\\bar\\\\\\\\\\\\\\bazz.mp4 are valid,
but mp4v2 fails to open them.

mp4v2 will insert prefix \\?\ when the path name looks like a full path
name (to get very long file name support). However, it doesn't normalize
the path.
Although win32 CreateFile() allows non-canonical path names, if seems to
require the path to be canonical when \\?\ prefix is used.

To fix the problem, GetFullPathName() should be used when inserting \\?\
prefix.

mp...@googlecode.com

unread,
May 13, 2013, 11:36:54 AM5/13/13
to mp...@googlegroups.com
Updates:
Owner: kid...@gmail.com

Comment #2 on issue 151 by kid...@gmail.com: Cannot use non-canonical full
(No comment was entered for this change.)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

mp...@googlecode.com

unread,
May 13, 2013, 11:37:54 AM5/13/13
to mp...@googlegroups.com
Updates:
Status: Accepted

Comment #1 on issue 151 by kid...@gmail.com: Cannot use non-canonical full
If you can give me a patch, I can work it in sometime this week. Sorry for
the delay.
Message has been deleted

mp...@googlecode.com

unread,
Aug 27, 2013, 2:22:48 AM8/27/13
to mp...@googlegroups.com

Comment #3 on issue 151 by honeycom...@gmail.com: Cannot use non-canonical
OK, sorry to be late. Patch attached.


Attachments:
mp4v2.issue151.patch 1.2 KB
Reply all
Reply to author
Forward
0 new messages