Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CF3F2019-214F-487B-A7DC-7E88B0F2D4A1@trust-in-soft.com>
Date: Mon, 10 Jul 2017 14:39:07 +0000
From: Pascal Cuoq <cuoq@...st-in-soft.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: patch: sequence points in memset

Following a recent discussion of statements shaped like x = x = c;, the attached patch introduces additional sequence points in musl's implementation of memset, because no realistic target platform benefits from the lack of sequence points in the current version, and if a hypothetical target (VLIW maybe?) was designed to benefit from the lack of sequence point, the lack of sequence point might just as well cause harm.

Pascal


Download attachment "memset_sp.patch" of type "application/octet-stream" (632 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.