Earlier quoted context omitted.
> hacked together by the last kind of crowd you want working on them That was neither informative nor necessary, really... (And likely not true)
The leading Android smartphone producer Samsung had on at least two of their flagship phones a world RW device that allowed full access to the entire system memory including the entirety of the kernel, deliberately: http://www.securitytracker.com/id/1027894 They needed it to get the camera working. This is not an exaggeration, the people they have writing software for their phones will take every shortcut they can fi…
Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
161–170 of 171 posts
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#162Earlier quoted context omitted.
Programmer's mistake for not validating data, not the fault of C language mechanics. Yes it would be easier if , still gotta be careful. I've made plenty of these mistakes but never blamed the language.
If a manufacturer makes and sells a gun that keeps going off in people's holsters and shooting people in the foot, the answer is not to say "it's the user's fault for not using it properly. I've shot myself in the foot hundreds of times and I don't blame the manufacturer". Or something. That analogy sounded better in my head than written down. The point is that IMO the blame lies squarely with the C language: it's a…
If the C language (not even a compiler, the language) somehow magically inserted bad code or rewrote your good code to be buggy on its own, you'd have a point.
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#163Earlier quoted context omitted.
There is no benefit. They probably have an embarrassing code base that is full of garbage and a bunch of lawyers paranoid about IP. Why would any manager suggest to take that risk that has very little potential upside. It isn't that it would be realistically detrimental, it just has no value to the individual attempting to change the established course of the ship
Judging from what I've seen of their drivers, yeah, their firmware/microcode is probably an embarrassing bug-ridden code base. But it also represents a lot of investment in low-level/low-layer features that they would prefer to hide from competitors (much more sensitive than the higher-layer logic in the driver proper).
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#164Earlier quoted context omitted.
There is no benefit. They probably have an embarrassing code base that is full of garbage and a bunch of lawyers paranoid about IP. Why would any manager suggest to take that risk that has very little potential upside. It isn't that it would be realistically detrimental, it just has no value to the individual attempting to change the established course of the ship
Judging from what I've seen of their drivers, yeah, their firmware/microcode is probably an embarrassing bug-ridden code base. But it also represents a lot of investment in low-level/low-layer features that they would prefer to hide from competitors (much more sensitive than the higher-layer logic in the driver proper).
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#165Earlier quoted context omitted.
Programmer's mistake for not validating data, not the fault of C language mechanics. Yes it would be easier if , still gotta be careful. I've made plenty of these mistakes but never blamed the language.
It's 2017. It's about time we had a better, well designed language (ie Rust, but I'm not sure if it's well designed enough, depends on what you want it for, too). There have been many advances in language research since the 70's that could be very useful for the kind of work C is used for. Saying we should stick to C because it's well established is like saying we should stick to assembly if it was well established.…
So IMO it's absolutely pointless trying to argue with them in the first place. They are set in their ways and while a good chunk of them are pretty strict and excellent in what they do, they are not open to any changes.
I would be the first to agree that Go and Rust aren't ready to start replacing drivers but IMO people should start trying! (Or invest in LLVM some more?)
C/C++'s faults aren't ever going away. They're too convenient in their target area. I am against the overly-used "disruption" term -- I happen to believe the USA tech blogosphere bastardized the term long ago -- but IMO the systems programming area is very, VERY overdue for disruption.
It's time.
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#166Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#167Earlier quoted context omitted.
Probably referring to the fact that they are simply pointers into contiguous memory.
C doesn't have "memory" in the standard. They're pointers into a contiguous object, but anything before a[-1] or after a[sizeof(a)-1] is undefined aka it actually doesn't exist.
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#168Earlier quoted context omitted.
In which case this is your answer; they're worried about knockoffs, because without the firmware logic their devices are simple commodities, ie don't really have strong differentiators from the competition.
The other hugely important side of this is that a lot of these devices have the ability to transmit on frequencies which they may not be licensed for, or may not be licensed for in all markets. The easiest example being b/g channel 13. You're permitted to use it for WiFi in most of the world, but not North America. Keeping the firmware proprietary and "secure" is likely an important part of their FCC/IC certification…
1. https://apps.fcc.gov/eas/comments/GetPublishedDocument.html?...
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#169Earlier quoted context omitted.
And yet another time we learn why it is better to use Lineage OS. Five year old Samsung S3: Android: Version 7.1.2 Security Patch Level: 5th July 2017
Guess I'll have to look at upgrading my diehard old Moto G. It's still on Android 5.1.1. Meanwhile I guess disabling WiFi is a mitigation?
That's a good question. If it's disabled in firmware and not actually powered down, it might still be susceptible.
Re: Remotely Compromising Android and iOS via a bug in Broadcom's WI-FI Chipsets
#170Earlier quoted context omitted.
C doesn't have "memory" in the standard. They're pointers into a contiguous object, but anything before a[-1] or after a[sizeof(a)-1] is undefined aka it actually doesn't exist.
`sizeof(a)` only gives the size of the array when the size is specified at compile time. Either you accept e.g. `int[16]` as a type, or you pass a pointer (for which `sizeof` just returns `sizeof(intptr_t)`)
However, arrays that are passed as arguments to functions decay into raw pointers, at which point you lose information about its length.