Hello everyone. I fixed (at least I think :-) my item renaming patch to prevent buffer overflows. Here's the patch. (sending as many small gzipped files, smack me if you prefer one file...) Patch is from crossfire root. The 'rename' file is the help file, describing how the command work. Other files are .h or .c patches. Tell me what you think, any improvement, and so on... Feel free to test it, torture it, and maybe commit to cvs :-) Or smack me for wasting your time ^_- Nicolas 'Ryo' -------------- next part -------------- A non-text attachment was scrubbed... Name: common.arch.c.patch.gz Type: application/x-gzip Size: 364 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/common.arch.c.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: common.loader.l.patch.gz Type: application/x-gzip Size: 489 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/common.loader.l.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: common.object.c.patch.gz Type: application/x-gzip Size: 654 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/common.object.c.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: include.object.h.patch.gz Type: application/x-gzip Size: 276 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/include.object.h.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: include.sproto.h.patch.gz Type: application/x-gzip Size: 285 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/include.sproto.h.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: rename.gz Type: application/x-gzip Size: 195 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/rename.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: server.c_object.c.patch.gz Type: application/x-gzip Size: 1631 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/server.c_object.c.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: server.commands.c.patch.gz Type: application/x-gzip Size: 250 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/server.commands.c.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: server.shop.c.patch.gz Type: application/x-gzip Size: 333 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/server.shop.c.patch.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: socket.item.c.patch.gz Type: application/x-gzip Size: 630 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030830/2dcb1779/socket.item.c.patch.bin