Page 1 of 1

VLC Check for updates “Negitave Number” Days (funny bug)

Posted: 21 Oct 2015 20:16
by briant
Hello,
This bug basically lets you enter a Negative Number, such as -3 into the “check for updates” box. See the Included Screenshots.

I found this bug several months ago, and have decided to wait and post it on October 21, 2015, because it's “Back to the Future Day” Thought this would be the perfect time to report this bug. Anyway, here are the steps to get the time mach…… er..... I mean VLC Media Player to reproduce this bug.
Open Up VLC on your Windows PC.
Go to Tools>Preferences
Go to the Privacy / Network Interaction Section, and check the “Active Update notifier” Checkbox.
On the “Every # Days” Box, decrement it to a negative number, such as -10,952
Click Save
*Connect your Windows Laptop with VLC still open to your DeLorean’s Auxiliary Flux Capacitor Port
*Drive to an empty Mall, Preferably Twin Pines Mall
*Insert Plutonium into the DeLorean
*Drive at Approximately 88 Mph in a straight line
*Prepare to see some serious Sh*t



*Indicates Optional Step. Also YMMV




Image



Image



Image

Re: VLC Check for updates “Negitave Number” Days (funny bug)

Posted: 21 Oct 2015 21:49
by Rémi Denis-Courmont
It's a little silly and the UI could cap at 1 day. But I don't see a problem. This is a deadline. If you set the deadline to fall in the past, the deadline will always be overdue and VLC will just check all the time.

Ain't It Funny

Posted: 22 Oct 2015 01:27
by Ludrax
Maybe this can be more reliable way to save unsigned number?
https://wiki.qt.io/How_to_Use_QSettings#Save_Settings
ticket 4123

Re: VLC Check for updates “Negitave Number” Days (funny bug)

Posted: 22 Oct 2015 06:41
by briant
It's a little silly and the UI could cap at 1 day. But I don't see a problem. This is a deadline. If you set the deadline to fall in the past, the deadline will always be overdue and VLC will just check all the time.
Well it still shouldn't be allowed to go below negative, or even zero for that mater, even if it doesn't really matter, or really cause any problem. The thing is all software I use I always have check for updates every day, I just happened to discover this because one too many mouse clicks. even if this is not really a problem wouldn't this be pretty easy to fix? In terms of this bug, I agree there are certainly more important ones that are more important. But still, this shouldn't be allowed to happen, and shouldn't this be relatively easy to fix? I'm not a Dev, but still...

AAAAANNNNNYYway, the Main reason I posted this was for my Time Travel joke. LOL