php_session_decoder icon indicating copy to clipboard operation
php_session_decoder copied to clipboard

Using int is easy to result in memory overflow on Linux.

Open lxzan opened this issue 7 years ago • 3 comments

Using int is easy to result in memory overflow on Linux.

lxzan avatar Nov 02 '18 07:11 lxzan

@lxzan Can you please explain how int can lead to memory overflow on Linux? Or give some links, please. I also want to understand this.

VadimKulagin avatar Nov 02 '18 07:11 VadimKulagin

Sorry, my stupid student using32-bit compiler with 64-bit OS leads to the problem. I asked him for times if his env is right and he's sure. Int is 32 bit on 32-bit OS, while 64 bit on 64-bit OS. Please ignore my PR.

lxzan avatar Nov 03 '18 03:11 lxzan

@Ixzan It's not an invalid PR. The bug is really, causing the code to not build on 32 bit platforms.

clausecker avatar Jul 26 '22 14:07 clausecker

This is a real bug, occurring when the package is used on 32 bit platforms. Please reopen.

clausecker avatar Jan 12 '23 13:01 clausecker

i cannot click reopen

lxzan avatar Jan 12 '23 15:01 lxzan

@Ixzan Perhaps a project member has to do that.

clausecker avatar Jan 12 '23 17:01 clausecker

@VadimKulagin Could you reopen this one?

The problem is that UNSERIALIZABLE_OBJECT_MAX_LEN overflows a 32 bit integer, which is the size of an int on 32 bit platforms.

clausecker avatar Jan 12 '23 17:01 clausecker

@clausecker I don't have that button unfortunately.

I think that either the project owner can reopen this issue, or a new one can be created.

VadimKulagin avatar Jan 12 '23 17:01 VadimKulagin

The repository which submitted that pull request has been deleted. Even project owner can not re-open that issue. please, send new pull request

yvasiyarov avatar Jan 14 '23 11:01 yvasiyarov