GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Untitled attachment

Download link

Notices where this attachment appears

  1. Embed this notice
    Edwin Török (edwintorok@discuss.systems)'s status on Tuesday, 28-Jan-2025 05:41:36 JST Edwin Török Edwin Török
    in reply to

    @johnm @regehr Another example. testcase that (used to) breaks with
    GCC -O3 on x86-64 https://github.com/Cisco-Talos/clamav/commit/c47e43ce354878de55f3521c9b8fbc887ed206f4
    Attempted fix https://github.com/Cisco-Talos/clamav/commit/2b481467801751d79d1bcd40878c070e7bc03bcb

    This was from ~17 years ago, and TBH I'm not convinced the "fix" avoids UB completely, but I assume someone would've found a unit test failure by now, but I see the code still looks the same now. Perhaps the only way to really avoid UB there is to use `memcpy`, and hope the compiler will be smart enough to optimize it away.

    In conversation about 9 months ago from discuss.systems permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.