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:
parent
6a88895b7b
commit
2824f4dca1
2 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue