Skip to content

child_process缓冲区溢出 #14

Description

@nightInSummer
child_process.exec(command,{
	env: env,
        maxBuffer: 8 * 1024 * 1024
},
...

lib/PHPExpress/engine.js 第32到34行,没有设置maxBuffer导致缓冲区大小只有默认的200k,当页面大小超出200k页面就会被截断,建议添加maxBuffer参数,如上

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions