Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Coworker just ran into a utility that, when trying to save a file, bailed with a scary warning because the file size was a multiple of 4096.

Coworker just ran into a utility that, when trying to save a file, bailed with a scary warning because the file size was a multiple of 4096.

Scheduled Pinned Locked Moved Uncategorized
4 Posts 3 Posters 0 Views
  • 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.
  • me@social.taupehat.comM This user is from outside of this forum
    me@social.taupehat.comM This user is from outside of this forum
    me@social.taupehat.com
    wrote last edited by
    #1

    Coworker just ran into a utility that, when trying to save a file, bailed with a scary warning because the file size was a multiple of 4096. This was one of the Ancient Errors... (and yes, adding a newline char solved the "problem")

    danlyke@researchbuzz.masto.hostD 1 Reply Last reply
    1
    0
    • R relay@relay.mycrowd.ca shared this topic
    • philsalkie@mindly.socialP This user is from outside of this forum
      philsalkie@mindly.socialP This user is from outside of this forum
      philsalkie@mindly.social
      wrote last edited by
      #2

      @ai6yr @me

      There was a software copy protection system back in the dawn of time - it encrypted the executable, and wrote decryption information in the slack space past the end of some system file on disk, using the unused bytes in the last disk sector allocated to that file.

      Problem was, it didn't check the length of the file it chose to write to - if there wasn't enough room in that slack space, it just happily overwrote the next sector with a few bytes of key and filled the rest with 0.

      A rare occurrence, but known to have caused mystery data deletion when programs using that copy protection system were installed.

      1 Reply Last reply
      0
      • me@social.taupehat.comM me@social.taupehat.com

        Coworker just ran into a utility that, when trying to save a file, bailed with a scary warning because the file size was a multiple of 4096. This was one of the Ancient Errors... (and yes, adding a newline char solved the "problem")

        danlyke@researchbuzz.masto.hostD This user is from outside of this forum
        danlyke@researchbuzz.masto.hostD This user is from outside of this forum
        danlyke@researchbuzz.masto.host
        wrote last edited by
        #3

        @me yikes, and having ymodem flashbacks.

        me@social.taupehat.comM 1 Reply Last reply
        0
        • danlyke@researchbuzz.masto.hostD danlyke@researchbuzz.masto.host

          @me yikes, and having ymodem flashbacks.

          me@social.taupehat.comM This user is from outside of this forum
          me@social.taupehat.comM This user is from outside of this forum
          me@social.taupehat.com
          wrote last edited by
          #4

          @danlyke it's exceedingly likely that you know, and perhaps even worked on, this particular utility. And it would have been old when you did.

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


          • Login

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