[Info-vax] Whither VMS?

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Sat Oct 3 09:44:24 EDT 2009


In article <ha6oek$gn9$02$1 at news.t-online.com>, Michael Kraemer <M.Kraemer at gsi.de> writes:
>Jordi Guillaumes i Pons schrieb:
>
>> 
>> Programmers are, some times, lazy. Specially when they work under 
>> unrealistic schedules and not enough resources. 
>
>I don't buy that. Errors of the kind below are not
>due to lack of resources.
>
>> You can find a lot of 
>> things like this in production:
>> 
>> void someFunction(char *someString) {
>>     char aBuffer[1024];
>>     strcpy(aBuffer, someString);

strncpy!!

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

  http://www.quirkfactory.com/popart/asskey/eqn2.png
  
  "Well my son, life is like a beanstalk, isn't it?"



More information about the Info-vax mailing list