octal digits in IP addresses

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ptbnfns
New Cone
New Cone
Posts: 5
Joined: 04 Jan 2008 14:51

octal digits in IP addresses

Postby ptbnfns » 04 Jan 2008 16:11

Hi !
I found a small BUG (or it is not?)
VLC 0.8.5
In UDP multicast IP addresses if in the beginning of number contained 0 (zero) VLC treat number as octal :)

for example
udp://@233.32.240.011:5050
equal
udp://@233.32.240.9:5050

Is it a BUG ?
I never see anybody use octal system in IP addresses.

ptbnfns
New Cone
New Cone
Posts: 5
Joined: 04 Jan 2008 14:51

Re: octal digits in IP addresses

Postby ptbnfns » 13 Jan 2008 21:53

Now I download and install 0.8.6.d
And the BUG still exist.

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: octal digits in IP addresses

Postby funman » 14 Jan 2008 13:18

it is a normal behaviour of C language to treat numbers beginning with a 0 as octal

why do you put the 0 ?

ptbnfns
New Cone
New Cone
Posts: 5
Joined: 04 Jan 2008 14:51

Re: octal digits in IP addresses

Postby ptbnfns » 16 Jan 2008 18:43

Of course it is normal for "C" but it's strange for IP.
In our network forum it cause muddle when someone accidentally write 0.
Peoples not familiar with "C" was confused when find this feature.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: octal digits in IP addresses

Postby Jean-Baptiste Kempf » 16 Jan 2008 19:32

Ok. Then provide a patch :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests