- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bounds checking for aCC
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 03:57 AM
05-08-2003 03:57 AM
Please check the README file attached for that.
Is there a patch for the same reason in aCC?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 07:45 AM
05-08-2003 07:45 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 08:10 PM
05-08-2003 08:10 PM
Re: Bounds checking for aCC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 10:27 PM
05-08-2003 10:27 PM
Re: Bounds checking for aCC
AFAIK you'll have to go to the OpenBSD site to get more information about that.
@Clay: no, I seriously doubt that bounds checking is for "whimps", as most programmers on the planet seem to be in urgent need of something doing that for them (M$ comes to mind).
Not everybody did a lot of coding with the Pascal/Modula/Ada family of languages (doing Ada back in 1983 was kinda fun)...
Or how would you explain all those recent buffer overflow vulnerabilities? IMHO it can be credited to C/C++ programmers, who never learned it *right* - and to the whole theory of "partially correctness".
If all you are taught about on the universities is about "correct output to correct input" you will totally miss the point of thinking about "bad input", i.e. attacks!
*SCNR*
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 08:18 AM
05-09-2003 08:18 AM
Re: Bounds checking for aCC
I too take issue with your statement regarding automatic bounds checks.
Consider this. Assume you are disciplined; you consider all the ways in which the array can get loaded and handle every case in your code.
Now, how is your result different from what the compiler would have produced? More efficient? Perhaps, but not likely.
Besides, your performance for 99% of most apps will be unaffected. Better to use a profiler to find and fix bottlenecks during integration .
Naturally, there are exceptions to this, such as library code (like the STL). The idea is to be productive, and worrying about optimizations at this level usually provides little return on your effort.
Hope this is helpful.