/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to dracut-module/password-agent.c

  • Committer: Teddy Hogeborn
  • Date: 2020-11-30 18:18:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1228.
  • Revision ID: teddy@recompile.se-20201130181825-55m01hog9c4yzbin
Tags: version-1.8.13-1
Version 1.8.13-1

* Makefile (version): Change to "1.8.13".
* NEWS (Version 1.8.13): Add new entry.
* debian/changelog (1.8.13-1): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
5978
5978
      g_test_skip("Skipping EMSGSIZE test: Will not try 1GiB");
5979
5979
      return;
5980
5980
    }
5981
 
    message_buffer = realloc(message_buffer, message_size);
 
5981
    free(message_buffer);
 
5982
    message_buffer = malloc(message_size);
5982
5983
    if(message_buffer == NULL){
5983
5984
      g_test_skip("Skipping EMSGSIZE test");
5984
5985
      g_test_message("Failed to malloc() %" PRIuMAX " bytes",
6005
6006
        g_test_message("Error on send(): %s", strerror(saved_errno));
6006
6007
        return;
6007
6008
      }
6008
 
      break;
6009
6009
    } else if(ssret != (ssize_t)message_size){
6010
6010
      g_test_skip("Skipping EMSGSIZE test");
6011
6011
      g_test_message("Partial send(): %" PRIuMAX " of %" PRIdMAX