Commit 5c72d87
committed
id -p crashes with panic when the real GID doesn't exist in /etc/group
hard to reproduce in an automated test
but here are the steps:
* edit /etc/passwd
* change one group id by another (non existing)
* run "id -p <user>"1 parent 39a8c87 commit 5c72d87
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| |||
0 commit comments