Displaying 2 results from an estimated 2 matches for "auth_tag".
Did you mean:
auth_sam
2010 Apr 05
0
Bug in icecast 2.3.2 (not in stable release but a little later and in trunk) : Null pointer in auth_remove_listener
.../* client is going, so auth is not an issue at this point */
client->authenticated = 0;
}
Because client->auth was NULL and so it tried to dereference a NULL
pointer:
(gdb) p client->auth->release_listener
Cannot access memory at address 0x10
(gdb) p client->auth
$3 = (struct auth_tag *) 0x0
(gdb) p auth_user
$4 = (auth_client *) 0x7f10d2126b80
(gdb) p auth_user->client
$6 = (client_t *) 0x7f1123690f00
we compare the sources of icecast we used with the 'mainstream' version
(icecast-2.3.2) and found that the authentication functionality in
question has some signif...
2004 Aug 06
4
No Duplicate Users - Patch
...}
return ret;
}
+
Index: src/auth.h
===================================================================
--- src/auth.h (revision 6619)
+++ src/auth.h (working copy)
@@ -33,7 +33,7 @@
{
/* Authenticate using the given username and password */
auth_result (*authenticate)(struct auth_tag *self,
- char *username, char *password);
+ source_t *source, char *username, char *password);
void (*free)(struct auth_tag *self);
void *state;
void *type;
Index: doc/icecast2_config_file.html
=================================================================...