Re: Secure C references and tools

2014-04-24 Thread Richard Pöttler
On Fri, Apr 18, 2014 at 8:12 PM, John D. Verne wrote: > On Fri, Apr 18, 2014 at 01:18:02AM +0100, Kevin Chadwick wrote: >> There are tools such as static analysers and Todd and Theo's talk on >> strl*, porting security guidelines etc. and many books (that may or may >> not recommend c++ ;-)) and e

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Richard Pöttler
On Mon, Feb 24, 2014 at 10:59 PM, Fabian Raetz wrote: > while calculating my phys. memory (mb) with the > folllowing shellsript i get as a result -424. > > sysctl -n hw.physmem returns 3849830400 > > > #!/bin/sh > > phys_mem_bytes=`sysctl -n hw.physmem` > phys_mem_mb=`expr $phys_mem_b