Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Security Issues with STL? |
|---|---|
| Date: | Thu, 2 Sep 2004 14:29:13 -0400 |
Hi, I have found scattered information about security issues related to STL on the internet and am not sure if Standards Template Library should be used or not used from security point of view. If it should be used what are the issues one should be aware of ? So far I have found 3 different references to STL (a couple of them from Writing secure code 2) and one form MS website. 1) Standard Template Library stream operator (>>) copies data from an input source to a variable. If the input is untrusted, this could potentially lead to a buffer overrun. (WSC2) 2) Using the STL can throw exceptions under low-memory conditions or if you encounter errors (WSC2). 3) Buffer overrun using iterators (MS website - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncode/html/secure03102004.asp). Are there any more known issues with STL ? Thanks DK.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: "Selling" a code-audit., Dmitry Dvoinikov |
|---|---|
| Next by Date: | Re: "Selling" a code-audit., Travis Schack |
| Previous by Thread: | "Selling" a code-audit., Yvan Boily |
| Next by Thread: | Shmoocon CFP & registration information, shmooconannounce |
| Indexes: | [Date] [Thread] [Top] [All Lists] |