+ Reply to Thread
Results 1 to 5 of 5

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

  1. #1
    Garage Member sebas_phoenix will become famous soon enough
    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

  2. #2
    Security Researcher fb1h2s has a spectacular aura aboutfb1h2s has a spectacular aura aboutfb1h2s has a spectacular aura about fb1h2s's Avatar
    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

  3. #3
    [s]
    [s] is offline
    Security Researcher [s] will become famous soon enough [s]'s Avatar
    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.

  4. #4
    Garage Member H@CK3R_ADI is on a distinguished road
    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

  5. #5
    Garage Member sebas_phoenix will become famous soon enough
    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.

Posting Permissions

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