exceptionhandler
About
- Username
- exceptionhandler
- Joined
- Visits
- 966
- Last Active
- Roles
- member
- Points
- 344
- Badges
- 0
- Posts
- 381
Reactions
-
Do Not Disturb in iOS 15 removes option that allowed notifications when iPhone is in use
-
iOS 14.8, iPadOS 14.8 tighten security, close off 'Blastdoor' attacks
elijahg said:exceptionhandler said:elijahg said:exceptionhandler said:elijahg said:Come on Apple. If there is a hole in an app that's bad enough, but having an exploitable hole in an app that allows a further exploit in that app's sandbox, enabling an attacker to escape the sandbox points to some very shoddy code practises. Someone needs to take a good hard look at their unit tests and make them much more robust. Sanitising input is a solved problem, to have repeated issues as a result of specially crafted data is really quite atrocious.
Apple researched it and found a fix to a problem that does not appear to be easily found and issued the fix. What more could you ask for?
http://www.stilldrinking.org/programming-sucksThis may not be the first, or second, or even the last (similar but not exact cases), because until Messages bites the dust, there will be issues with it. And as new features get added, it may again break in similar ways because, well, it’s a new interaction that has to be accounted for, and as each feature gets added, the surface area that needs testing grows exponentially. If it were to be perfectly tested, the software would never get released…
¯\_(ツ)_/¯
it’s easier to test how something is defined to work. You have to know to write the test to begin with. Date ranges are an example. If a date is supposed to fall within a small range (lets say a week), testing the positive space is not too bad (7 days), but testing the complete negative space is impossible. An assumption can be made here, and that is to check just a few at the bounds, but how do you KNOW it will work for all cases if they aren’t all tested?
Integration tests are harder, because you can’t always tell how 1 or likely many many more components may fail in every way they work together. Again, its easier to check the defined paths, but each time you add a new component into the mix, there’s an exponential risk of some behavior not working as expected.
-
iOS 14.8, iPadOS 14.8 tighten security, close off 'Blastdoor' attacks
elijahg said:exceptionhandler said:elijahg said:Come on Apple. If there is a hole in an app that's bad enough, but having an exploitable hole in an app that allows a further exploit in that app's sandbox, enabling an attacker to escape the sandbox points to some very shoddy code practises. Someone needs to take a good hard look at their unit tests and make them much more robust. Sanitising input is a solved problem, to have repeated issues as a result of specially crafted data is really quite atrocious.
Apple researched it and found a fix to a problem that does not appear to be easily found and issued the fix. What more could you ask for?
http://www.stilldrinking.org/programming-sucksThis may not be the first, or second, or even the last (similar but not exact cases), because until Messages bites the dust, there will be issues with it. And as new features get added, it may again break in similar ways because, well, it’s a new interaction that has to be accounted for, and as each feature gets added, the surface area that needs testing grows exponentially. If it were to be perfectly tested, the software would never get released…
¯\_(ツ)_/¯ -
iOS 14.8, iPadOS 14.8 tighten security, close off 'Blastdoor' attacks
elijahg said:Come on Apple. If there is a hole in an app that's bad enough, but having an exploitable hole in an app that allows a further exploit in that app's sandbox, enabling an attacker to escape the sandbox points to some very shoddy code practises. Someone needs to take a good hard look at their unit tests and make them much more robust. Sanitising input is a solved problem, to have repeated issues as a result of specially crafted data is really quite atrocious.
Apple researched it and found a fix to a problem that does not appear to be easily found and issued the fix. What more could you ask for?
http://www.stilldrinking.org/programming-sucks
-
Apple backs down on CSAM features, postpones launch
Illusive said:
due to the industry I am in, I have dealt with the technical side of this stuff, but I am not sure the actual technical details are relevant… that is the how… Dont dev me wrong, their implementation is super cool, but…
Another more recent quote I like to use, because I see bad tech designs/decisions all the time is:
“Yeah, but your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should.” - Dr. Ian Malcolm
There are times when we do things just because we can. We tend to live in the moment without considerating of the consequences of our actions. Sometimes, the consequences aren’t worth it.
Which, while it comes from an old sci fi movie, is still applicable, and is more succinct.