Skip to content

Commit

Permalink
dleyna: Fix crash determining local IPv6 address
Browse files Browse the repository at this point in the history
Avoid a crash when determining the local IPv6 address due to a shadowed
variable.

https://bugzilla.gnome.org/show_bug.cgi?id=740052
  • Loading branch information
jasuarez committed Nov 18, 2014
1 parent 712f709 commit e382c86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dleyna/grl-dleyna-utils.c
Expand Up @@ -213,7 +213,6 @@ is_our_user_ipv6 (struct sockaddr_in6 *address)

status = g_io_channel_read_line (file, &line, NULL, NULL, NULL);
while (status == G_IO_STATUS_NORMAL) {
char *line;
int j, k, l;
/* 4*8 for IP, 4 for port, 1 for :, 1 for NUL */
char buffer[4*8 + 4 + 1 + 1];
Expand Down

0 comments on commit e382c86

Please sign in to comment.