Embedded problems: exploiting NULL pointer dereferences
99628
Your device could be at risk Interview Barnaby Jack developed a method for exploiting certain NULL pointer dereferences on the ARM and XScale architectures (and likely PowerPC). This method affects a lot of devices since most mobile phones and PDA are ARM based, and high-end routers often use the XScale architecture.â¦
98105
The Piethon benchmark contest is beginning to loom, and the language list discusses how scalars should be interpolated and subscripted.
218468
DevShed has posted the final installment of their series looking at the creation and use of the Abstract Factory pattern. In this new part, they focus on the creation of online forms and their handling as the pattern is applied.   In this last installment of the series, I'm going to show you how to use an abstract factory class to create distinct types of form objects, logically depending on the context where they will be utilized. The idea not only sounds interesting, but it can provide you with a better understanding of how this handy pattern can be used in a real situation.   They start by defining their abstract factory form class and extending it to create a required form element and a normal form element. They make input functions for each - required input box, required radio button, required check box - and their "Normal" counterparts. Finally, they tie these all together to create a simple form with sets of an input box, radio set, and checkboxes both required and normal.
699435
A researcher has posted proof-of-concept code for a zero-day flaw within Mac OS X dealing with its handling of disk image (.dmg) files. The issue causes a memory corruption vulnerability that could allow attackers to execute arbitrary code.
40560
Editors: Shlomo Reifman and Samantha N. Wong Researchers: Joshua Brandt, Fei Mei Chan,  Andrew T. Gillies, Soo Jeong, Edward Knudsen,  Artie Kwok, John Ray and Jody Yen Programmer: Carl Subick
94499
Nefarious Designs continues their object-oriented PHP series with part four posted today, a look at some of the new features that PHP5 brings to the table.    After a welcome break, over the late summer public holiday here in England, here's the final part in my object-oriented PHP series. Sorry about the rather extended pause since "Part 3: Taking Relationships Further".   Having already looked at definition, relationships and taking those relationships further, I'm going to look at how PHP5's new Object Model introduces more advanced functionality.    In this latest part they look at clas constants, abstract classes, object interfaces, and magic methods (including overloading).
475410
On the SitePoint PHP Blog today Troels Knak-Nielsen asks th3e question "what's so bad about the singleton?" For all of its advantages, is there a darker side of the design pattern when it pertains to global variables.   As I have often taken this stance myself, I found it reasonable that I should be able to argue for it, so I'll try to give an explanation. This is also in part a follow-up on my post from last week, in which I present a way to avoid global symbols, without spending much time on why.   He talks about what they are and how they're commonly used - sometimes with some unpleasant side effects because of their use of globals.
494845
Stuart Herbert has posted a new book review of a new offering from Packt Publishing - "Learning PHP Data Objects" (by Dennis Popel).    The folks at Packt Publishing sent me a copy of Dennis Popel's "Learning PHP Data Objects" to review. I'd never heard of Packt before, and was intrigued.   He includes a high-level overview of what the book contains, but notes that he couldn't get a hold of the code examples mentioned in the book (no CD and couldn't find it on their site). Overall, he found it a good book - it's a good primer to PDO in PHP, but you'll need to know SQL beforehand to work with it. He suggests that it's more of a one or two time read, though - not much in the way of a reference to come back to.
657839
When Perl isn't fast enough, you can have applications interact with Oracle databases by using C.
583590
The trials and tribulations of application dependency in a virtualized, hosted world.
607723
Tobias Schlitt has provided a helpful hint for developers working with lots of objects, methods, and singleton patterned functionality to keep out of the same trouble he faced.   During my current exam phase I'm working on some tiny private project to relax after learning. In there I'm using a main controller class, which implements a singleton pattern and initializes several sub-controllers while being created. The singletons purpose is, that the other controllers can access to main controller and its functionality whenever they need, without storing a reference each.   The problem with the code (he gives snippets) was a recursive loop that was suddenly appearing. He finally tracked it down to a constructor in another class that was accessing the main controller's constructor. The issue was that the constructor was never finishing up, so a valid instance wasn't returned, so the whole thing started all over again.
449834
Sebastian Bergmann has posted the results of some benchmarking on the compilation he's done on the branches of PHP from version 3.0 all the way up to 5.3-CVS.   As people keep asking me for an update to my previous benchmarks (PHP / GCC / ICC Benchmark, PHP 5.1 / GCC Benchmark (Update), and PHP 5.1 Performance, I quickly ran a new benchmark today.   He rendered the results out into a series of charts defining the number of total seconds taken for the compile and how long each of the components took. It's impressive to see how much of a jump there was between the 3.0 series and 4.3.   He also includes his compile settings (and machine information) as well as the numbers for the results if you'd like to graph them out yourself.
86222
In brief Exploit circulating for unpatched vuln
328320
The JyAALib project is a Java/Jython implementation of the Asynchronous Action Framework based in Pure Object Oriented Concepts. The Massive Parallel Framework in Python Language - Full Compatible with Jython-JAVA.   New Beta version 1.9 is available for the PyAALib-JyAALib : The Massive Parallel Framework in Python Language - Full Compatible with Jython-JAVA
484390
Though it contains no code, this new article on PHPBuilder provides a good perspective for those looking to get into PHP and what to expect to find.   A couple of months ago, I knew almost nothing about PHP, only that is was a programming language that I needed to learn. Today, my whole site relies upon PHP and I have gained the confidence that almost anything is possible using PHP. I accomplished this achievement using methods that I will describe in this article.   The author talks about the methods followed to get into the language, including making smaller goals at first, just to get used to things. The manual is also suggested as a "best friend" for a developer and looking at other people's code can provide insight into your problems.
86944
DevShed continues their tutorial series looking at working with PHP and databases today with more excerpted material from the O'Reilly book "Programming PHP, Second Edition" (by Kevin Tatroe, Rasmus Lerdorf, and Peter MacIntyre).   Picking up from where we left off last week, we'll be discussing shortcuts, query responses, metadata, and more.   They start off looking at shortcuts, those handy things the PEAR DB package offers to make life simpler (like getRow and getAssoc) before moving on to how to get the details about the response itself (like affectedRows and tableInfo). Next up is working with the metadata (using getListOf) and, finally, a sample application to tie them all together.
676141
While attending Gunter Kniesel's "Aspect-Oriented Software Development" lecture yesterday it occured to me that it might be possible to (ab)use PHP 5's __autoload(), __call(), __get(), and __set() interceptors to facilitate Aspect-Oriented Programming with PHP.