php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77911 Wrong warning for session.sid_bits_per_character
Submitted: 2019-04-16 16:29 UTC Modified: 2019-04-17 15:25 UTC
From: chasepeeler at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Session related
PHP Version: 7.3.4 OS:
Private report: No CVE-ID: None
 [2019-04-16 16:29 UTC] chasepeeler at gmail dot com
Description:
------------
If you set session.sid_bits_per_character to an invalid value, the warning message references 'session.sid_bits' instead of session.sid_bits_per_character. An invalid value is anything except 4, 5, or 6.

Expected result:
----------------
PHP Warning: PHP Startup: session.configuration 'session.sid_bits_per_character' must be between 4 and 6. in Unknown on line 0

Actual result:
--------------
PHP Warning: PHP Startup: session.configuration 'session.sid_bits' must be between 4 and 6. in Unknown on line 0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-17 06:59 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: PHP options/info functions +Package: Session related
 [2019-04-17 15:15 UTC] cmb@php.net
-Summary: Incorrect warning message if session.sid_bits_per_session is set incorrectly +Summary: Wrong warning for session.sid_bits_per_session -Assigned To: +Assigned To: cmb
 [2019-04-17 15:25 UTC] cmb@php.net
-Summary: Wrong warning for session.sid_bits_per_session +Summary: Wrong warning for session.sid_bits_per_character
 [2019-04-17 15:25 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d20053a55693ecdcc6c9d5d758fb11d15bfb3913
Log: Fix #77911: Wrong warning for session.sid_bits_per_character
 [2019-04-17 15:25 UTC] cmb@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 09:01:32 2024 UTC