mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Various varieties of this:
| 45 | tempfile = strdup ("/tmp/luksXXXXXX");
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (19) this call could return NULL
| 46 | if (!tempfile) {
| | ~
| | |
| | (20) following 'false' branch (when 'tempfile' is non-NULL)...
|......
| 51 | fd = mkstemp (tempfile);
| | ~~ ~~~~~~~~~~~~~~~~~~
| | | |
| | | (22) argument 1 ('tempfile') from (19) could be NULL where non-null expected
| | (21) ...to here