mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r8969@Kushana: nickm | 2006-09-26 18:00:36 -0400
Remove a signed/unsigned comparison in eventdns.c svn:r8508
This commit is contained in:
+1
-1
@@ -1204,7 +1204,7 @@ evdns_request_data_build(const char *const name, const int name_len, const u16 t
|
||||
free(labels);
|
||||
return labels_len;
|
||||
}
|
||||
if (j + labels_len > buf_len) {
|
||||
if ((size_t)(j + labels_len) > buf_len) {
|
||||
free(labels);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user