aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-10-30 14:09:29 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-10-30 14:09:29 +0000
commite433db1745fdfb3edd3d511bb28222064e30a44b (patch)
tree5263fd201cf338eb5a6bc935d72d8a600cdb663d
parentb97e9dc92d3df40aa5348a008602591b28430fa5 (diff)
downloadports-e433db1745fdfb3edd3d511bb28222064e30a44b.tar.gz
ports-e433db1745fdfb3edd3d511bb28222064e30a44b.zip
Notes
-rw-r--r--security/nmap/files/patch-nsock::src::nsock_event.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/nmap/files/patch-nsock::src::nsock_event.c b/security/nmap/files/patch-nsock::src::nsock_event.c
new file mode 100644
index 000000000000..e2b50646b66d
--- /dev/null
+++ b/security/nmap/files/patch-nsock::src::nsock_event.c
@@ -0,0 +1,13 @@
+--- nsock/src/nsock_event.c.orig Fri Oct 3 15:33:05 2003
++++ nsock/src/nsock_event.c Fri Oct 3 15:32:31 2003
+@@ -242,8 +242,9 @@
+ int type_code = (int) type;
+ unsigned long serial = ms->next_event_serial++;
+ unsigned long max_serial_allowed;
+- int shiftbits = sizeof(nsock_event_id) * 8 - TYPE_CODE_NUM_BITS;
++ int shiftbits;
+ assert(type <= 3);
++ shiftbits = sizeof(nsock_event_id) * 8 - TYPE_CODE_NUM_BITS;
+
+ max_serial_allowed = ( 1 << shiftbits ) - 1;
+ if (serial == max_serial_allowed ) {