call cookies_initialize() before gator_start()
PATCH 1/1 call cookies_initialize() before gator_start()
From: Po-Yu Chuang <[email protected]>
gator_crc32_table might be accessed by gator_chksum_crc32() before it is allocated.
Signed-off-by Po-Yu Chuang <[email protected]>
---
Hi Pawel Moll,
Not sure where to post this patch. Please let me know if there were something wrong.
gator_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
gator_main.c +2 -2
@@ -739,13 +739,13 @@ static int gator_op_start(void)mutex_lock (&start_mutex); +cookies_initialize (); +if (gator_started ||gator_start ()) err = -EINVAL ;else gator_started =1 ; -cookies_initialize (); -mutex_unlock (&start_mutex);return err;
Signature · 1 line
1.6.3.3
PATCH 1/1 call cookies_initialize() before gator_start()
Hi Po-Yu,
Quoted 2 lines
Not sure where to post this patch. Please let me know if there were something wrong.
I've passed your patch to the gator maintainers and they say it look ok. Thanks a lot on their behalf (and mine :-)
Cheers!
Pawe?