• mindbleach
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

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

    • bioemerl@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year 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
        fedilink
        English
        arrow-up
        1
        ·
        1 year 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.