Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Weird question of the day

Weird question of the day

Scheduled Pinned Locked Moved The Lounge
comquestion
7 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michel Godfroid
    wrote on last edited by
    #1

    Perfect English, clearly not a Troll, and yet.., yet..., I can't put my finger on it[^]...

    M I I R J 5 Replies Last reply
    0
    • M Michel Godfroid

      Perfect English, clearly not a Troll, and yet.., yet..., I can't put my finger on it[^]...

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #2

      It could be a useful teaching aid. Maybe the guy has to show people how not to do, and the effects of memory leaks.

      I wanna be a eunuchs developer! Pass me a bread knife!

      F 1 Reply Last reply
      0
      • M Michel Godfroid

        Perfect English, clearly not a Troll, and yet.., yet..., I can't put my finger on it[^]...

        I Offline
        I Offline
        Ian Shlasko
        wrote on last edited by
        #3

        Doesn't seem a black hat request... I mean, if he was trying to cause an exploitable buffer overflow, that'd be a serious red flag. Not much you can really do with a memory leak though. My best guess would be that he found a program that detects memory leaks, and is trying to test out how well it works.

        Proud to have finally moved to the A-Ark. Which one are you in?
        Author of the Guardians Saga (Sci-Fi/Fantasy novels)

        1 Reply Last reply
        0
        • M Michel Godfroid

          Perfect English, clearly not a Troll, and yet.., yet..., I can't put my finger on it[^]...

          I Offline
          I Offline
          Iain Clarke Warrior Programmer
          wrote on last edited by
          #4

          We were recently trying out some crash reporting stuff in one of our applications - and I got a "telling off" by my boss that he couldn't get my application to crash so he could test things! Sure, I could put in a

          void CMyApp::OnHelpDieHorribly ()
          {
          int i = 7;
          i /= 0;
          }

          but a) it would then be a different app, and b) probably get optimised away! Iain.

          I have now moved to Sweden for love (awwww).

          1 Reply Last reply
          0
          • M Mark_Wallace

            It could be a useful teaching aid. Maybe the guy has to show people how not to do, and the effects of memory leaks.

            I wanna be a eunuchs developer! Pass me a bread knife!

            F Offline
            F Offline
            fjdiewornncalwe
            wrote on last edited by
            #5

            I actually did this with a junior I was mentoring to demonstrate why vigilance in this area is important within unmanaged code, but I wouldn't be using any project that would potentially get out into a production environment for this.

            1 Reply Last reply
            0
            • M Michel Godfroid

              Perfect English, clearly not a Troll, and yet.., yet..., I can't put my finger on it[^]...

              R Offline
              R Offline
              ragnaroknrol
              wrote on last edited by
              #6

              I do like the linux X11 solution. We found if we just use some XML, poorly written Schemas, and treat things that make perfect sense as objects in C# as datasets we will have a few dozen leaks in a matter of minutes.

              If I have accidentally said something witty, smart, or correct, it is purely by mistake and I apologize for it.

              1 Reply Last reply
              0
              • M Michel Godfroid

                Perfect English, clearly not a Troll, and yet.., yet..., I can't put my finger on it[^]...

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #7

                So true the bit about X11, ah good times, good times...

                ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups