• @mindbleach
    link
    English
    16 months ago

    How do you fuck up a bitmap parser? It’s an array. There’s no metadata. You allocate the filesize!

    • bioemerl
      link
      fedilink
      16 months ago

      It’s all fun and games until the user has bit rot or some stupid thing is offset by one or a row doesn’t exist somewhere and you have to correct for it

      • @mindbleach
        link
        English
        16 months ago

        A corrupted bitmap should only look ugly. There is no decoding or compression - only translation, and sometimes not even that.

        A bitmap is the platonic ideal of a buffer overrun being comically obvious and trivially preventable.