1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/talloc/test_magic_differs_helper.c

13 lines
337 B
C
Raw Normal View History

#include <stdio.h>
#include "talloc.h"
/*
* This program is called by a testing shell script in order to ensure that
* if the library is loaded into different processes it uses different magic
* values in order to thwart security attacks.
*/
int main(int argc, char *argv[]) {
printf("%i\n", talloc_test_get_magic());
return 0;
}