|
@@ -35,6 +35,12 @@ const char *s = NULL;
|
|
|
sum += (unsigned char)buf[i]; \
|
|
|
}
|
|
|
|
|
|
+#ifdef __OpenBSD__
|
|
|
+/* Disable some of OpenBSD's malloc protections for this test. This helps
|
|
|
+ * us do bad things, such as access freed buffers, without crashing. */
|
|
|
+const char *malloc_options="sufjj";
|
|
|
+#endif
|
|
|
+
|
|
|
static unsigned
|
|
|
fill_a_buffer_memset(void)
|
|
|
{
|