php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70969 Get him back he doing to much
Submitted: 2015-11-25 11:29 UTC Modified: 2015-12-06 04:22 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: Canelo562 at gmail dot com Assigned:
Status: No Feedback Package: uuid (PECL)
PHP Version: master-Git-2015-11-25 (Git) OS: benjamin.martinp@gmail.com
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Canelo562 at gmail dot com
New email:
PHP Version: OS:

 

 [2015-11-25 11:29 UTC] Canelo562 at gmail dot com
Description:
------------
Index: win32service.c
===================================================================
--- win32service.c	(revision 337426)
+++ win32service.c	(working copy)
@@ -472,7 +472,7 @@
 		RETURN_FALSE;
 	}
 
-	hmgr = OpenSCManager(machine, NULL, SC_MANAGER_ALL_ACCESS);
+	hmgr = OpenSCManager(machine, NULL, SC_MANAGER_CONNECT);
 	if (hmgr) {
 		hsvc = OpenService(hmgr, service, SERVICE_START);
 		if (hsvc) {
@@ -503,7 +503,7 @@
 		RETURN_FALSE;
 	}
 
-	hmgr = OpenSCManager(machine, NULL, SC_MANAGER_ALL_ACCESS);
+	hmgr = OpenSCManager(machine, NULL, SC_MANAGER_CONNECT);
 	if (hmgr) {
 		hsvc = OpenService(hmgr, service, access);
 		if (hsvc) {

Test script:
---------------
metriclogs {
  triggerTime: 1447813677228
  triggerId: 655363
  profileId: 679242
  locationUpdateSession {
    timestamp: 1447813676896
    timestampEnd: 1447813677222
    desiredAccuracy: -1
    cellAvailable: true
    wifiAvailable: false
    passcodeLocked: false
    airplaneMode: false
    ttff: 0
    ttffGps: -1
    bundleid: "com.toyopagroup.picaboo"
    achievedAccuracy: 2000
    achievedSpeed: -1
    accessoryUsed: false
    reachability: 1
    powered: false
    autoStopped: false
    deferredLocations: 0
    gpsCoexWifi: 0
    gpsCoexBt: 0

Expected result:
----------------
Backfire

Actual result:
--------------
Yes like that

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-26 15:03 UTC] remi@php.net
This doesn't related to UUID extension ?
 [2015-11-26 15:04 UTC] remi@php.net
-Status: Open +Status: Feedback
 [2015-12-06 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 01:01:28 2024 UTC