@@ -1545,6 +1545,9 @@ Return Value:
1545
1545
case PsDataEffectiveUserIdentifier :
1546
1546
Result = SwGetUserNameFromId (Information -> EffectiveUserId , & StringData );
1547
1547
if (Result != 0 ) {
1548
+
1549
+ assert (StringData == NULL );
1550
+
1548
1551
DataAvailable = FALSE;
1549
1552
break ;
1550
1553
}
@@ -1555,6 +1558,9 @@ Return Value:
1555
1558
case PsDataRealUserIdentifier :
1556
1559
Result = SwGetUserNameFromId (Information -> RealUserId , & StringData );
1557
1560
if (Result != 0 ) {
1561
+
1562
+ assert (StringData == NULL );
1563
+
1558
1564
DataAvailable = FALSE;
1559
1565
break ;
1560
1566
}
@@ -1565,6 +1571,9 @@ Return Value:
1565
1571
case PsDataRealGroupIdentifier :
1566
1572
Result = SwGetGroupNameFromId (Information -> RealGroupId , & StringData );
1567
1573
if (Result != 0 ) {
1574
+
1575
+ assert (StringData == NULL );
1576
+
1568
1577
DataAvailable = FALSE;
1569
1578
break ;
1570
1579
}
@@ -1577,6 +1586,9 @@ Return Value:
1577
1586
& StringData );
1578
1587
1579
1588
if (Result != 0 ) {
1589
+
1590
+ assert (StringData == NULL );
1591
+
1580
1592
DataAvailable = FALSE;
1581
1593
break ;
1582
1594
}
@@ -2131,6 +2143,9 @@ Return Value:
2131
2143
& GroupName );
2132
2144
2133
2145
if (Result != 0 ) {
2146
+
2147
+ assert (GroupName == NULL );
2148
+
2134
2149
continue ;
2135
2150
}
2136
2151
}
@@ -2237,6 +2252,9 @@ Return Value:
2237
2252
& UserName );
2238
2253
2239
2254
if (Result != 0 ) {
2255
+
2256
+ assert (UserName == NULL );
2257
+
2240
2258
continue ;
2241
2259
}
2242
2260
}
@@ -2283,6 +2301,9 @@ Return Value:
2283
2301
& UserName );
2284
2302
2285
2303
if (Result != 0 ) {
2304
+
2305
+ assert (UserName == NULL );
2306
+
2286
2307
continue ;
2287
2308
}
2288
2309
}
0 commit comments