Ticket #324 (closed Bug report: fixed)

Opened 6 years ago

Last modified 6 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

Attachments

Change History

Changed 6 years ago by benoitg

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

Fixed in [1227], thanks Medea

Changed 6 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 6 years ago by benoitg

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

Oups, fixed in [1236]

Add/Change #324 (Wdctl restart bug)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.