mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
383 B

  1. diff -ruN stress-0.18.8/src/stress.c stress-0.18.8-new/src/stress.c
  2. --- stress-0.18.8/src/stress.c 2005-12-08 16:36:28.000000000 +0000
  3. +++ stress-0.18.8-new/src/stress.c 2006-03-28 09:07:29.000000000 +0000
  4. @@ -481,7 +481,7 @@
  5. hogvm (long long bytes, long long stride, long long hang, int keep)
  6. {
  7. long long i;
  8. - char *ptr;
  9. + char *ptr = 0;
  10. int do_malloc = 1;
  11. while (1)