mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
In a couple of places, snewn() was being asked for an array of char which was
then assigned to an unsigned char * variabe. This fixes that. [originally from svn r3023]
This commit is contained in:
2
x11fwd.c
2
x11fwd.c
@ -385,7 +385,7 @@ int x11_send(Socket s, char *data, int len)
|
||||
pr->auth_dsize = (pr->auth_dlen + 3) & ~3;
|
||||
/* Leave room for a terminating zero, to make our lives easier. */
|
||||
pr->auth_protocol = snewn(pr->auth_psize + 1, char);
|
||||
pr->auth_data = snewn(pr->auth_dsize, char);
|
||||
pr->auth_data = snewn(pr->auth_dsize, unsigned char);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user