Files
libguestfs/mllib
Richard W.M. Jones 57d17ca301 mllib: visit: Initialize CAMLlocal-allocated value.
Somewhere between OCaml 4.01 and OCaml 4.04, <caml/memory.h> changed
the way that CAMLlocalX() values on the stack are initialized.  In
OCaml 4.01:

  #define CAMLlocal1(x) \
    value x = 0; \
    CAMLxparam1 (x)

but in OCaml 4.04:

  #define CAMLlocal1(x) \
    value x = Val_unit; \
    CAMLxparam1 (x)

The code in mllib/visit-c.c assumed that the value would be
initialized to Val_unit, and used a check (exn != Val_unit) to see if
the value had been updated.  This failed badly (with a segfault) on
OCaml 4.01 in Debian 8.

Resolve this by always initializing CAMLlocalX() values before use.
2017-02-24 04:59:57 -05:00
..
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2015-05-13 16:45:41 +02:00
2016-09-08 09:57:15 +02:00
2016-07-18 18:20:57 +02:00
2016-07-18 18:20:57 +02:00
2015-05-11 10:26:53 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2016-04-20 22:48:37 +01:00
2017-02-14 15:25:25 +00:00
2017-02-14 15:25:25 +00:00