Re: Is there an end of string like in C



Chris L wrote:
In C, there is an end of string character ('\0'). Is there one in Ada?

Null-terminated buffers are a very very poor substitute for arrays. They are the cause of a majority of all the security holes in computer systems. Of course we don't do that in Ada. Read here:

http://en.wikibooks.org/wiki/Ada_Programming/Strings#Unbounded-length_string_handling

--
Björn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
.



Relevant Pages

  • Re: IIS SQL Injection woes...
    ... Stephany Young wrote: ... There are some systems with security holes. ... the majority of the systems. ... But they are not easy to find even for a determined hacker. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: put of access type
    ... Ada). ... You probably meant the address of the pointed object. ... In the large majority of cases, ... Why do people insist that the value of an access type must be ...
    (comp.lang.ada)