Bug #79936 [Asn->Csd]: sapi/litespeed/lsapilib.c:2627: possible unterminated string
| From: | gwang@php.net | Date: | Mon, 10 Aug 2020 23:16:55 +0000 |
| Subject: | Bug #79936 [Asn->Csd]: sapi/litespeed/lsapilib.c:2627: possible unterminated string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228499@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79936&edit=1
ID: 79936
Updated by: gwang@php.net
Reported by: dcb314 at hotmail dot com
Summary: sapi/litespeed/lsapilib.c:2627: possible
unterminated string
-Status: Assigned
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: fedora linux
PHP Version: 7.4.9RC1
Assigned To: gwang
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
If you are still experiencing this bug, try to check out latest source from https://github.com/php/php-src and re-test.
Thank you for the report, and for helping us make PHP better.
https://github.com/php/php-src/commit/07cb2755bec2fe4671b35defc9e76f495ce6e9d1
Previous Comments:
------------------------------------------------------------------------
[2020-08-06 09:58:38] dcb314 at hotmail dot com
Description:
------------
php-7.4.9/sapi/litespeed/lsapilib.c:2627:5: warning:inconclusive: The buffer 'achAddr'
may not be null-terminated after the call to strncpy(). [terminateStrncpy]
Source code is
strncpy( achAddr, pBind, 256 );
Suggest make sure achAddr is properly terminated with a zero byte.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79936&edit=1