Permalink
Browse files

[ 2669283 ] httpProcSem incorrectly initialized

  • Loading branch information...
1 parent c81533b commit 9d3a273f8449f89c16f6bce1c7b2e48bf613bab6 buccella committed Mar 6, 2009
Showing with 7 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +1 −0 NEWS
  3. +1 −1 dbpAdapter.c
  4. +1 −1 httpAdapter.c
View
@@ -4,6 +4,10 @@
Fixed [ 2669147 ] Incorrect pointer assignment in providerRegister
(found by Gnanasekar)
+ * httpAdapter.c, dbpAdapter.c:
+ Fixed [ 2669283 ] httpProcSem incorrectly initialized
+ (found by Gnanasekar)
+
2009-03-05 Chris Buccella <buccella@linux.vnet.ibm.com>
* cimXmlOps.y:
View
@@ -9,6 +9,7 @@ Bugs fixed:
- 2615815 clean target is not able to clean code coverage reports.
- 2663804 sfcb can segfault while parsing large arrays
- 2669147 Incorrect pointer assignment in providerRegister
+- 2669283 httpProcSem incorrectly initialized
Changes in 1.3.3
================
View
@@ -135,7 +135,7 @@ void initDbpProcCtl(int p)
sun.val=0;
for (i=1; i<=p; i++)
- semctl(dbpProcSem,p,SETVAL,sun);
+ semctl(dbpProcSem,i,SETVAL,sun);
if ((dbpWorkSem=semget(dbpWorkSemKey,1,0600))!=-1)
semctl(dbpWorkSem,0,IPC_RMID,sun);
View
@@ -173,7 +173,7 @@ void initHttpProcCtl(int p, int sslmode)
sun.val=0;
for (i=1; i<=p; i++)
- semctl(httpProcSem,p,SETVAL,sun);
+ semctl(httpProcSem,i,SETVAL,sun);
if ((httpWorkSem=semget(httpWorkSemKey,1,0600))!=-1)
semctl(httpWorkSem,0,IPC_RMID,sun);

0 comments on commit 9d3a273

Please sign in to comment.