News for hackers. Stuff that matters.
Re:Sponsorship needed for new OS/2 web browser (2017) by lallysingh on Thursday July 05, 2018 @07:58AM (#17462544)
No, old programmers would do much worse. And the threat model for those systems didn't take in the web as an attack surface. The bugs described would only help with local privilege escalation before. Now they can be used to get access to the networked application.

E.g. the browser uses a vulnerable library call with input from a web page, and that library call alters the return stack according to the input. The browser is now compromised.

Re:Sponsorship needed for new OS/2 web browser (2017) by matt_the_bass on Thursday July 05, 2018 @08:07AM (#17462585)
Curious, why do you say “old programmers would do much worse”? That hasn’t been my experience.
Re:Sponsorship needed for new OS/2 web browser (2017) by fcbrooklyn on Thursday July 05, 2018 @09:15AM (#17462979)
I don't think they mean "old" programmers exactly... more like "programmers back in the day". We just didn't have the quality of tools back then. Also, our machines were orders of magnitude less powerful, which meant we generally had to work with a lot less in the way of things like library support, frameworks, etc. I used to have an OS/2 box as my build machine. I think that box had 32k of RAM, and 4.7Mhz processor.
Re:Sponsorship needed for new OS/2 web browser (2017) by matt_the_bass on Thursday July 05, 2018 @09:25AM (#17463046)
Yes, not nearly the quality of tools. When I was programming back then I programmed much closer to the cpu (less abstraction through libraries and less automated tools). This made me look much closer at the issues listed above. I also ready full books on the programming language and command sets. Unlike now, if I use a new library/language, I just scan the online docs to get the gist of what I need to do.

So I guess I had the opposite experience.

Re:Sponsorship needed for new OS/2 web browser (2017) by fcbrooklyn on Thursday July 05, 2018 @10:12AM (#17463369)
Yeah, I did all those things as well. They were essential. And yet I would say that at least 50% of the bugs we ran into were either buffer overflows, stack overflows, using freed pointers, not freeing pointers, or incorrect pointer indirection. At least we didn't have to worry about race conditions.
Re:Sponsorship needed for new OS/2 web browser (2017) by lallysingh on Thursday July 05, 2018 @11:17AM (#17463926)
Yes, precisely. I count myself as one of them. SO and other things online provide a minimum quality level for many solutions, and we didn't have that a few years ago. So you did what you could with the meager time and resources available.
Re:Sponsorship needed for new OS/2 web browser (2017) by danmg on Thursday July 05, 2018 @11:17AM (#17463922)
Your boss must have really hated you to have you run OS/2 on 32k of RAM at 4.7MHz. I didn't even know that was possible.
Re:Sponsorship needed for new OS/2 web browser (2017) by fcbrooklyn on Thursday July 05, 2018 @11:48AM (#17464191)
Oops! 32 Meg, not K. 4.7 is correct I think though.

That machine was probably worth about 3-4 grand at the time (1992)

Re:Sponsorship needed for new OS/2 web browser (2017) by icedchai on Thursday July 05, 2018 @12:08PM (#17464338)
4.7 mhz is probably not correct. That was the speed of the original 8088/8086 machines (IBM PC 5150 class, etc.)

You would need at least a 386 to support 32 megs of RAM. Those were at least 16 mhz.

Re:Sponsorship needed for new OS/2 web browser (2017) by fcbrooklyn on Thursday July 05, 2018 @02:58PM (#17465829)
Heh... see, it was the distant past, fading from my memory. You're absolutely right. The machine in question was an early pentium box as I recall, and the fastest machine I'd ever used at the time.
Re:Sponsorship needed for new OS/2 web browser (2017) by danmg on Thursday July 05, 2018 @01:56PM (#17465323)
Could have been under-clocked by (div 4) just to torture people into writing efficient code.