diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-10-07 08:36:40 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-10-07 10:05:08 +0200 |
| commit | 552003dbd6f9e8d8adc55d969e63b9dedcbed726 (patch) | |
| tree | 6a8aa242aefec087771acd9b9af0957f020053fd /scripts | |
| parent | 9443b0bc5efa33832a17567f98f8a950e29afbec (diff) | |
| download | busybox-w32-552003dbd6f9e8d8adc55d969e63b9dedcbed726.tar.gz busybox-w32-552003dbd6f9e8d8adc55d969e63b9dedcbed726.tar.bz2 busybox-w32-552003dbd6f9e8d8adc55d969e63b9dedcbed726.zip | |
selinux: fix potential segfault in sestatus
Remove the puts(cterm) call that was likely leftover debugging code.
The controlling terminal name is already properly displayed via the
'Controlling term:' label, so the raw terminal name output was redundant
and could cause issues when cterm is NULL.
Also add proper cleanup for the allocated cterm string.
function old new delta
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0) Total: 0 bytes
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
