diff options
author | Brian C. Lane <bcl@redhat.com> | 2023-02-15 11:15:28 -0800 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2023-02-15 11:15:28 -0800 |
commit | 09c95d2feab0c087339886134dfe2dc04094348a (patch) | |
tree | 1b87143b9b1204a44886f4ebfae54dc9e753117e /parted.spec.in | |
parent | 9cb38a7444d02023d112ae8e9e38436104f75f64 (diff) | |
download | parted-09c95d2feab0c087339886134dfe2dc04094348a.tar.gz |
ui: Add checks for prompt being NULL
Also removes a cast from const char* to char* when passing to readline
that doesn't appear to be necessary any longer.
Added asserts to make sure prompt isn't NULL after strdup and realloc
calls.
Diffstat (limited to 'parted.spec.in')
0 files changed, 0 insertions, 0 deletions