[quake3-commits] [ioquake/ioq3] ed1794: Change shift expressions to unsigned types. Shifti...
Thomas Köppe
tkoeppe at google.com
Sun Jan 21 07:01:53 EST 2018
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: ed1794fe172c209c0c354a085c3e995e9c4462fc
https://github.com/ioquake/ioq3/commit/ed1794fe172c209c0c354a085c3e995e9c4462fc
Author: Thomas Köppe <tkoeppe at google.com>
Date: 2018-01-21 (Sun, 21 Jan 2018)
Changed paths:
M code/client/cl_main.c
M code/qcommon/md4.c
M code/qcommon/net_chan.c
M code/qcommon/vm_x86.c
M code/server/sv_client.c
M code/server/sv_init.c
Log Message:
-----------
Change shift expressions to unsigned types. Shifting signed values to
a result that is not representable has undefined behaviour.
Commit: 917bca4f7d8bdef5cfe159aaa2bac6bb2b559d29
https://github.com/ioquake/ioq3/commit/917bca4f7d8bdef5cfe159aaa2bac6bb2b559d29
Author: Thomas Köppe <tkoeppe at google.com>
Date: 2018-01-21 (Sun, 21 Jan 2018)
Changed paths:
M code/qcommon/q_shared.h
M code/renderergl1/tr_bsp.c
Log Message:
-----------
Use standard offsetof facility. Dereferencing a null pointer results
in undefined behaviour.
Compare: https://github.com/ioquake/ioq3/compare/7e2aa2c6274e...917bca4f7d8b
More information about the quake3-commits
mailing list