[eggheads-patches] PATCH1.8: dupeArrayMaskValue.patch

George Van Osterom george.vo at alum.rpi.edu
Mon Apr 27 21:00:27 CST 2015


A user (didn't save the nick, sorry!) noticed that module.h contained both 

 

#  define tls_vfydcc (*(int *)(global[115]))

 

and 

 

#define origbotname ((char *)(global[115]))

 

 

Whoops! After waaaay too much thought on how to avoid the duplication
(moving it around, etc) I finally realized that it appears when the SSL
shizz was inserted to this section, the coder forgot to delete natip (which
is mentioned in the notes as being done.) and then kept counting from the
now off-by-one value. Comparing this to the structure in modules.c also
confirms this. This patch simply removes natip as was intended, and properly
renumbers the array so as to avoid conflicts. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dupeArrayMaskValue.patch
Type: application/octet-stream
Size: 636 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/patches/attachments/20150427/59d29174/attachment.obj>


More information about the Patches mailing list