pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: minidlna buffer overflow on netbsd-8/amd64



On Thu, 20 Feb 2020, John D. Baker wrote:

> Looking at "/var/log/minidlna.log" has numerous entries of the form:
> 
> [YYYY/MM/DD HH:MM:SS] upnphttp.c:1370: error: Rejecting wide link /amd/fileserver/mntpt/home/username/Public/Music/file.mp3 -> /amd/fileserver/mntpt/home/username/Public/Music/file.mp3

The issue is that my public media folder has symbolic links that pointed
outside the configured "media_dir".  There is a new configuration item
"wide_links" which defaults to "no".  Setting it to "yes" and restarting
'minidlnad' solves the problem.

So, minidlna on netbsd-9 does not suffer the buffer overflow problem
when indexing the configured "media_dir"s that occurs on netbsd-8.  I
can't upgrade my file server to netbsd-9 as the siisata card/driver that
forms part of my RAID fails to identify the disks.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index