Reply to post: Re: ...memory constraints... ...70 full copies of 4 different OpenSSL versions...

Huawei savaged by Brit code review board over pisspoor dev practices

wtrmute

Re: ...memory constraints... ...70 full copies of 4 different OpenSSL versions...

Funniest thing is, if they only wrote

<pre>

#define SAFE_LIBRARY_memcpy(dest, destMax, src, count) memcpy(dest, src, (destMax) < (count) ? (destMax) : (count))

</pre>

Then they'd be at least immune to piss-poor stack overflow attacks, even if using plain libc.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019