Thread: C Subtleties!
-
07-04-2012, 11:46 PM #1Garage Member
- Join Date
- Sep 2010
- Location
- Chennai
- Posts
- 83
- Blog Entries
- 1
- Thanks
- 16
- Thanked 55 Times in 18 Posts
C Subtleties!
Check out C Subtleties! « phr33dom . I have discussed some arcane concepts of C that every _good_ programmer in C should know to avoid security bugs.
Reference: TAOSSA
-
07-05-2012, 12:45 AM #2Security Researcher


- Join Date
- Jul 2010
- Location
- India
- Posts
- 599
- Blog Entries
- 23
- Thanks
- 279
- Thanked 151 Times in 76 Posts
Hai good job man, can u share one copy of the articles in the forum as well, we might need it for the monthly magazine.
Hacking Is a Matter of Time Knowledge and Patience
-
07-08-2012, 05:44 PM #3Security Researcher
- Join Date
- Nov 2010
- Posts
- 187
- Blog Entries
- 2
- Thanks
- 63
- Thanked 53 Times in 30 Posts
Hey dude , indeed article .. Do you have Dangling pointer exploitation examples
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
-
07-09-2012, 07:12 PM #4Garage Member
- Join Date
- Jun 2012
- Location
- Unkn0wn City,Unkn0wn State,Unkn0wn Country,Unkn0wn Continent,PLanet Eart,Milkyway Galaxy,Virgo Super
- Posts
- 51
- Thanks
- 8
- Thanked 3 Times in 3 Posts
nice article.......kudos to you for
-
07-10-2012, 12:49 PM #5Garage Member
- Join Date
- Sep 2010
- Location
- Chennai
- Posts
- 83
- Blog Entries
- 1
- Thanks
- 16
- Thanked 55 Times in 18 Posts
@fb1h2s: Thanks bro..
@[s] : I don't have dangling exploitation samples, i guess it will be dependent on a lot of parameters, one place where dangling pointer occurs often is in C++, when a member variable is dynamically allocated and then you are copying the object to another object of the same class. By default, c++ performs shallow copy,so there is a high probability that a dangling pointer issue might occur here. Remediation is to implement your own copy constructor and also the override the '=' operator when you have a class member variable whose memory is dynamically allocated.
@H@CK3R_ADI : Thanks , try solving the 2 sample programs I have given in my blog.



LinkBack URL
About LinkBacks



Reply With Quote
Poizon Web Exploiter 2.0
Yesterday, 10:34 PM in Tools & Scripts