Results 1 to 5 of 5

Thread: C Subtleties! Share/Save - My123World.Com!

  1. #1
    Garage Member
    Join Date
    Sep 2010
    Location
    Chennai
    Posts
    83
    Blog Entries
    1

    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

  2. #2
    Security Researcher fb1h2s's Avatar
    Join Date
    Jul 2010
    Location
    India
    Posts
    616
    Blog Entries
    32
    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

  3. #3
    Hey dude , indeed article .. Do you have Dangling pointer exploitation examples
    Garage4Hackers bugs for the community , of the community

    We provide IT
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    :
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  4. #4
    Garage Member
    Join Date
    Jun 2012
    Location
    Unkn0wn City,Unkn0wn State,Unkn0wn Country,Unkn0wn Continent,PLanet Eart,Milkyway Galaxy,Virgo Super
    Posts
    51
    nice article.......kudos to you for

  5. #5
    Garage Member
    Join Date
    Sep 2010
    Location
    Chennai
    Posts
    83
    Blog Entries
    1
    @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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •