Ticket #324 (closed Bug report: fixed)

Opened 13 years ago

Last modified 13 years ago

Wdctl restart bug

Reported by: Medea Owned by:
Priority: normal Milestone: Not yet assigned to a Milestone
Component: Gateway Version:
Keywords: Cc:

Description

Hey,

Found a bug when calling wdctl restart (cf. wdctl_thread.c)

The bug is in the accept argument, the len is not calculated.

The tips is to do :

len = sizeof(sa_un);

just after "socklen_t len"

Bug found in 1.1.3_beta6 and tested in 1.1.3_beta7-pre1

Bye

Change History

Changed 13 years ago by benoitg

  • status changed from new to closed
  • resolution set to fixed

Fixed in [1227], thanks Medea

Changed 13 years ago by Medea

  • status changed from closed to reopened
  • resolution fixed deleted

There is another missing "len = sizeof(sa_un)" for the accept function on line 126 in wdctl_thread.c

:)

Changed 13 years ago by benoitg

  • status changed from reopened to closed
  • resolution set to fixed

Oups, fixed in [1236]

Note: See TracTickets for help on using tickets.