[ippool] pppd plugin crashing if debug enabled on x64 machin
Status: Inactive
Brought to you by:
jameschapman
if debug enabled in ippool pppd plugin then it will crash in dbglog because of inet_ntoa function which return garbage.
inet_ntoa return garbage because it doesnt declared, compiler assume it return INT. (really it return pointer).
This is not a problem on i386 platform, but return value truncated on x64 where pointer take 8 bytes and int is 4 bytes.
Here is patch.
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"