Up to [cvs.NetBSD.org] / src / lib / libc / stdlib
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-compat-0906
Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 25 20:05:35 2018 UTC (16 months, 1 week ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728
Changes since 1.44: +6 -6
lines
Diff to previous 1.44 (colored)
Avoid undefined behavior in left bit shift in jemalloc(3) Change the type of shifted value to unsigned to prevent altering the signedness bit. jemalloc.c:1707:14, left shift of 1 by 31 places cannot be represented in type 'int' jemalloc.c:1724:15, left shift of 1 by 31 places cannot be represented in type 'int' jemalloc.c:1840:28, left shift of 1 by 31 places cannot be represented in type 'int' Detected with micro-UBSan in the user mode.