You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
By default, the Python input() box allows all characters to be entered, both strings, integers and floats. I do not think it has any internal character limits, not even on Windows. However, Windows has some internal character limits (see attached screenshot). Since Python does not seem to honor those limits, a very dangerous and serious bug is created, existent since V1.0 Beta 2, where a Patch could theoretically be created with an invalid character, and would be unable to delete it. I have had this happen to me once before. Ubuntu was duel-booted on a computer, and I took a screenshot. The screenshot had a colon in the file name, and colons are reserved for drive letters on Windows. Once I booted back into Windows, I was unable to edit, rename, move, copy, or delete the file, and Ubuntu had already been removed. It stayed there until the HDD was redone. This bug could create the situation, and that never needs to happen.
How to reproduce
Will not be written. As already stated, this is a dangerous bug to exploit, and will not tell how to do it and mess up someone's computer.
Fix
Attach a character checker to the Name and Version input fields during Patch Creation. I already have code to do this, and is easy to implement.
Screenshot
The text was updated successfully, but these errors were encountered:
Successful Patch installation message is now displayed in green text,
Fixed character check not allowing spaces (see #3),
Incomplete Patch is now deleted if PermissionError is raised,
Adding correct version of Uninstaller,
More work on handlejam
New bug fixed in commit badfb67. It seems even my prototype code did not allow spaces. The fix? Just add a single space in the list of allowed characters, and Tada! Instant working code. :)
Bug
By default, the Python
input()
box allows all characters to be entered, both strings, integers and floats. I do not think it has any internal character limits, not even on Windows. However, Windows has some internal character limits (see attached screenshot). Since Python does not seem to honor those limits, a very dangerous and serious bug is created, existent since V1.0 Beta 2, where a Patch could theoretically be created with an invalid character, and would be unable to delete it. I have had this happen to me once before. Ubuntu was duel-booted on a computer, and I took a screenshot. The screenshot had a colon in the file name, and colons are reserved for drive letters on Windows. Once I booted back into Windows, I was unable to edit, rename, move, copy, or delete the file, and Ubuntu had already been removed. It stayed there until the HDD was redone. This bug could create the situation, and that never needs to happen.How to reproduce
Will not be written. As already stated, this is a dangerous bug to exploit, and will not tell how to do it and mess up someone's computer.
Fix
Screenshot
The text was updated successfully, but these errors were encountered: