Re: Delphi apps more secure?



There is no way to avoind pointers for low level stuff.
If you take a look at any delphi API wrapper code,
pointers to raw buffers and complex structures are all over the place.

Problem with C is that you are forced to use pointers
for trivial string handling, so they use char array on stack for
buffers. It is a order of magnitude easier to inject code
on stack memory than at heap.



"Michael Fullerton" <fullerm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:e3k0n2hh2o3s3117d16en0p3nh8k70mttp@xxxxxxxxxx
Coulnd't it be argues that Delphi applications are more secure? It
seems that most security related problems in software are due to
buffer overruns. Buffer overruns are a big problem in C++ with its
heavy pointer usage while Delphi shields the developer from needing to
use pointers as much.

___
Free Project Time Tracker for Delphi Developers
http://www.cybermatrix.com/pcdelphi.html


.



Relevant Pages

  • Intel 865 probs
    ... Having lots of probs with a machine based on an Intel 865 motherboard. ... Any pointers? ... server.mydomain.com kernel log messages: ... >> giving up on 2420 buffers ...
    (freebsd-current)
  • Re: [PATCH] meye: correct printk of dma_addr_t
    ... The meye driver uses 256 PAGE_SIZE buffers. ... pointers to these buffers are stored in mchip_ptable. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • C "free" == Delphi "FreeMem"?
    ... Some of the functions pass pointers to string data (char **), ... The documentation says the buffers should be freed with (the equivalent ...
    (borland.public.delphi.language.objectpascal)
  • Re: [PATCH] meye: correct printk of dma_addr_t
    ... |> mchip_tableis mostly used for kernel pointers, ... The meye driver uses 256 PAGE_SIZE buffers. ... | In the code I used the last entry of mchip_ptable to store the toc, ...
    (Linux-Kernel)
  • Re: Are Delphis objects always pointers to objects? (comparing Delphi objects and C++ objects)
    ... > In Delphi it seems like objects are all pointers to objects. ... Part of the reason almost all OO languages now use references to objects is ... assignment operator. ...
    (comp.lang.pascal.delphi.misc)