[PATCH v6 2/3] mscoree: Allow loading of registration free .NET COM objects

Fabian Maurer dark.shadow4 at web.de
Tue Nov 13 13:51:12 CST 2018


On Dienstag, 13. November 2018 20:30:06 CET Vincent Povirk wrote:
> > > To my knowledge, a .NET class name has no maximum size.
> > 
> > Yeah, but we already had a fixed size buffer for that, so I figured I
> > could leave it like that.
> It's OK to have a fixed size buffer, but we need to make sure copying
> the class name doesn't overrun the buffer.
> 
> > > This also
> > > passes in a size for the filename but doesn't fully check it.
> > 
> > What exactly has to be checked?
> 
> You append to the path without checking that the string will fit.

Makes sense, thanks!

Regards,
Fabian Maurer


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20181113/788d82fc/attachment.html>


More information about the wine-devel mailing list