Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Buffer overflow in llprimitive.cpp / unpackTEMessage http://sldev.free.fr/forum/viewtopic.php?f=4&t=2495 |
Page 1 of 1 |
Author: | kathrine [ 2024-05-06 14:17:49 ] | ||||||||||||||||||
Post subject: | Buffer overflow in llprimitive.cpp / unpackTEMessage | ||||||||||||||||||
Visual Studio Analyzer found this one:
If the size is exactly 4096 (= MAX_TE_BUFFER), this overflows the data.packed_buffer and writes a 0-byte beyond the end. Fix is probably to check for >=
|
Author: | Henri Beauchamp [ 2024-05-06 14:54:20 ] |
Post subject: | Re: Buffer overflow in llprimitive.cpp / unpackTEMessage |
Good catch, thanks ! Fixed for next releases. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |