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. Other Discussions
  3. The Insider News
  4. Twice the bits, twice the trouble: vulnerabilities induced by migrating to 64-bit platforms

Twice the bits, twice the trouble: vulnerabilities induced by migrating to 64-bit platforms

Scheduled Pinned Locked Moved The Insider News
question
10 Posts 6 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.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    The Morning Paper[^]:

    In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

    That's why I compile everything for 8-bits

    Maybe I should switch to 4? That would be more secure, right?

    N J B M E 9 Replies Last reply
    0
    • K Kent Sharkey

      The Morning Paper[^]:

      In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

      That's why I compile everything for 8-bits

      Maybe I should switch to 4? That would be more secure, right?

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      Why don't you delete the codebase? That way is perfectly safe from outside attacks

      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

      1 Reply Last reply
      0
      • K Kent Sharkey

        The Morning Paper[^]:

        In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

        That's why I compile everything for 8-bits

        Maybe I should switch to 4? That would be more secure, right?

        J Offline
        J Offline
        Jon McKee
        wrote on last edited by
        #3

        This is why you need to get intimate with your memory model. Lay it down, caress its every facet, invite its friend CLR (I may be C# biased *cough*), and explore every desire it has. Does it want long? Oh my, that's two 32-bit writes. It may not be atomic, but it will excite you to no end. Is the CLR packing that sweet 64-bit back-end? Mmm baby, atomic all the way. Do you know how to please your environment? I don't think so. Compiler getting ALL up in your business re-arranging those sexy reads and writes? Lock that motha down. Interlock with her every need and you will never go wanting. If the memory is mis-aligned it's your doing and you need to manually adjust for that. Kappa /r/jesuschristreddit deuces :thumbsup:

        1 Reply Last reply
        0
        • K Kent Sharkey

          The Morning Paper[^]:

          In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

          That's why I compile everything for 8-bits

          Maybe I should switch to 4? That would be more secure, right?

          J Offline
          J Offline
          Jon McKee
          wrote on last edited by
          #4

          This is why you need to get intimate with your memory model. Lay it down, caress its every facet, invite its friend CLR (I may be C# biased *cough*), and explore every desire it has. Does it want long? Oh my, that's two 32-bit writes. It may not be atomic, but it will excite you to no end. Is the CLR packing that sweet 64-bit back-end? Mmm, atomic all the way. Do you know how to please your environment? I don't think so. Compiler getting ALL up in your business re-arranging those reads and writes? Lock that motha down. Interlock with her every need and you will never go wanting. If the memory is mis-aligned it's your doing and you need to manually adjust for that. Kappa :thumbsup:

          1 Reply Last reply
          0
          • K Kent Sharkey

            The Morning Paper[^]:

            In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

            That's why I compile everything for 8-bits

            Maybe I should switch to 4? That would be more secure, right?

            J Offline
            J Offline
            Jon McKee
            wrote on last edited by
            #5

            This is why you need to get in touch with your memory model. Lay it down, caress its every facet, invite its friend CLR (I may be C# biased *cough*), and explore every desire it has. Does it want long? Oh my, that's two 32-bit writes. It may not be atomic. Is the CLR packing that sweet 64-bit back-end? Mmm, atomic all the way even though the C# specification doesn't guarantee that. Compiler getting ALL up in your business re-arranging those reads and writes? Lock that motha down. Interlock with its every need and you will never go wanting. If the memory is mis-aligned it's your doing and you need to manually adjust for that. Kappa :thumbsup:

            1 Reply Last reply
            0
            • K Kent Sharkey

              The Morning Paper[^]:

              In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

              That's why I compile everything for 8-bits

              Maybe I should switch to 4? That would be more secure, right?

              J Offline
              J Offline
              Jon McKee
              wrote on last edited by
              #6

              This is why you need to get in touch with your memory model. Lay it down, caress its every facet, invite its friend CLR (I may be C# biased *cough*), and explore every desire it has. Does it want long? Oh my, that's two 32-bit writes. It may not be atomic. Is the CLR packing that sweet 64-bit back-end? Mmm, atomic all the way even though the C# specification doesn't guarantee that. Compiler getting ALL up in your business re-arranging those reads and writes? Lock that thing down. Interlock with its every need and you will never go wanting. If the memory is mis-aligned it's your doing and you need to manually adjust for that. Kappa :thumbsup:

              1 Reply Last reply
              0
              • K Kent Sharkey

                The Morning Paper[^]:

                In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

                That's why I compile everything for 8-bits

                Maybe I should switch to 4? That would be more secure, right?

                J Offline
                J Offline
                Jon McKee
                wrote on last edited by
                #7

                This is why you need to get in touch with your memory model. Lay it down, caress its every facet, invite its friend CLR (I may be C# biased), and explore every desire it has. Does it want long? Oh my, that's two 32-bit writes. It may not be atomic. Is the CLR packing that sweet 64-bit back-end? Atomic all the way even though the C# specification doesn't guarantee that. Compiler getting ALL up in your business re-arranging those reads and writes? Lock that thing down. Interlock with its every need and you will never go wanting. If the memory is mis-aligned it's your doing and you need to manually adjust for that. Kappa :thumbsup:

                1 Reply Last reply
                0
                • K Kent Sharkey

                  The Morning Paper[^]:

                  In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

                  That's why I compile everything for 8-bits

                  Maybe I should switch to 4? That would be more secure, right?

                  B Offline
                  B Offline
                  BillWoodruff
                  wrote on last edited by
                  #8

                  But, don't you get twice the amount of work done for half the price ? :confused:

                  «There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

                  1 Reply Last reply
                  0
                  • K Kent Sharkey

                    The Morning Paper[^]:

                    In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

                    That's why I compile everything for 8-bits

                    Maybe I should switch to 4? That would be more secure, right?

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

                    The music's more catchy in 8-bits, too. (Anyone not humming an 8-bit game tune by now obviously hasn't lived)

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

                    1 Reply Last reply
                    0
                    • K Kent Sharkey

                      The Morning Paper[^]:

                      In this study, Wressnegger et al. reveal how a codebase originally written for 32-bit, and which is perfectly secure on 32-bit platforms, can have new vulnerabilities simply by compiling it for 64-bit systems.

                      That's why I compile everything for 8-bits

                      Maybe I should switch to 4? That would be more secure, right?

                      E Offline
                      E Offline
                      ed welch
                      wrote on last edited by
                      #10

                      Well, if you have a codebase that's only ever been fully tested compiled as 32-bit, you should not be surprised that it'll have bugs when compiled as 64-bit.

                      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