[bug] lib/pbkdf2.compat.php의 create_hash() 함수의 명시적인 fclose($fp) 부재 > 그누보드5 이슈

그누보드5 이슈

좋은 댓글과 좋아요는 제작자에게 큰힘이 됩니다.

[bug] lib/pbkdf2.compat.php의 create_hash() 함수의 명시적인 fclose($fp) 부재 정보

[bug] lib/pbkdf2.compat.php의 create_hash() 함수의 명시적인 fclose($fp) 부재

본문

https://github.com/gnuboard/gnuboard5/blob/920a6c9520b8c789db2ad6f2b32bc13ebb9d0fce/lib/pbkdf2.compat.php#L45-L75

Line 51에서 $fp = @fopen('/dev/urandom', 'r')fclose($fp)를 실행하지 않습니다.

추천
0
  • 복사

댓글 1개

알려주셔서 감사합니다.


아래 링크처럼 수정했습니다.
https://github.com/gnuboard/gnuboard5/commit/d5b541724fa687f5a6ef118d4580b76be1329de3

90레벨 이상 댓글을 남길 수 있습니다.

© SIRSOFT
현재 페이지 제일 처음으로