you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago (4 children)

So this is only a problem for 32-bit apps on 32-bit processors?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 8 points 1 year ago (1 child)

    It's a problem with the internal represensation of a C/C++ type alias called time_t, mostly. That's the thing that holds the number of elapsed seconds since midnight on Jan. 1, 1970, which is the most common low-level representation of date and time on computers. In theory, time_t could point to a 32-bit type even on a 64-bit system, but I don't think anyone's actually dumb enough to do that. It affects more than C/C++ code because most programming languages end up calling C libraries once you go down enough levels.

    In other words, there's no way you can tell whether a given application is affected or not unless you're aware of the code details, regardless of the bitness of the program and the processor it's running on.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 7 points 1 year ago

    It only depends whether the app and its OS/kernel interface use a 32-bit value to store the time information.

    32-bit architecture or OS has nothing to do with this bug, for example 16-bit architectures must've used 32-bit time, too (otherwise they'd be able to only count up to 32-65 seconds).

  • source
  • parent