3 ms·
Quite frankly, I find your attitude to be annoying and downright stupid. How hard can it be to understand the following simple sentence: THE USER DOESN'T C
by linuxguy 16y ago
Quite frankly, I find your attitude to be annoying and downright stupid.
How hard can it be to understand the following simple sentence:
THE USER DOESN'T CARE.
- jpr 16y agoHow hard can it be for Adobe to write standards conforming code? The user doesn't care, but professional software developers, which I assumes Adobe's developers are, should make it a priority to follow the relevant standards.
- rwmj 16y agoPrecisely. It also indicates that Adobe don't run their code through valgrind, which would have picked this problem up. Considering that flash is (a) security critical and (b) often full of security bugs, you'd think they might run valgrind over it once in a while. Entirely Adobe's fault this one. BTW with Firefox 4 the need for flash has virtually gone. All the popular video sites can play most of their videos using the native video support in the browser.
- krakensden 16y agoI was under the impression that Valgrind didn't play nice with virtual machines.
- kingkilr 16y agoGenerally no, out of the box it doesn't, things like JITs and GCs can confuse it, however it's got a bunch of flags and config options and what not to allow you to use it.
- sbov 16y agoPretty hard. C is a minefield of undefined behavior. Integer overflow is considered undefined behavior. Which means its perfectly valid to call abort(), wipe your hard drive, then light your system on fire. Or, have the number quietly wrap around. Oh, and its perfectly fine for me to change the behavior from one to the other, or even have a lookup table of random responses to undefined behavior. Because, like, you're not following the standard. And its so easy.
- jpr 16y agoFor what it's worth, I agree. Every time I hear about problems that arise from programming in C, with its undefined behaviour etc., I think to myself, there must be a better way to do it. But I don't know of any way that wouldn't involve scrapping 90%+ of software we use every day.
- haberman 16y ago> C is a minefield of undefined behavior. Integer overflow is considered undefined behavior. Only for signed integers. Unsigned integers are defined to wrap around.
- yuhong 16y agoYea, I remember the joke about gcc #pragma once causing something like rogue to run.
- Silhouette 16y agoThe trouble with this whole argument is that while the user may not care today, things like standards and defined interfaces are all about keeping things working tomorrow. Your user will surely be just as upset at something breaking tomorrow as they are today, and it's increasingly likely that such breakages will (a) occur and (b) cost more to fix, the longer you implicitly support deviations from the standards.
- ScottBurson 16y agoIn this particular case, however, simply making memcpy() handle overlapping moves correctly would not break anything. Well, I suppose there's a theoretical possibility that someone is counting on the old behavior in the backwards-overlapping case, but that would be bizarre; surely this is the kind of code that should get broken, if any of it even exists. If memcpy() had been fixed 30 years ago to do overlapping moves correctly, as it could and should have been, that would have been the end of it; we would not be having this conversation.