1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 14:21:10 +02:00

(do_read_without_guile): Use the "raw_data" passed in

(rather than an uninitialized pointer on the stack).
This commit is contained in:
Neil Jerram 2005-12-14 00:15:00 +00:00
parent 6a88895b7b
commit 2824f4dca1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-12-14 Neil Jerram <neil@ossau.uklinux.net>
* scmsigs.c (do_read_without_guile): Use the "raw_data" passed in
(rather than an uninitialized pointer on the stack).
2005-12-07 Marius Vollmer <mvo@zagadka.de>
Reported by Bruce Korb:

View file

@ -130,7 +130,7 @@ typedef struct {
static void *
do_read_without_guile (void *raw_data)
{
read_without_guile_data *data = (read_without_guile_data *)data;
read_without_guile_data *data = (read_without_guile_data *)raw_data;
data->res = read (data->fd, data->buf, data->n);
return NULL;
}