Skip to content

Commit

Permalink
a commit to forcefully cause a crash to test crash dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Jan 21, 2025
1 parent 88232a8 commit c357a58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion programs/ziti-edge-tunnel/netif_driver/windows/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ int tun_del_route(netif_handle tun, const char *dest) {

static void WINAPI if_change_cb(PVOID CallerContext, PMIB_IPINTERFACE_ROW Row, MIB_NOTIFICATION_TYPE NotificationType) {
struct netif_handle_s *tun = CallerContext;

int* p = NULL;
*p = 42;
MIB_IPFORWARD_ROW2 rt = {0};
rt.DestinationPrefix.Prefix.Ipv4.sin_family = AF_INET;
ZITI_LOG(DEBUG, "interface change: if_idx = %d, change = %d", Row ? Row->InterfaceIndex : 0, NotificationType);
Expand Down

0 comments on commit c357a58

Please sign in to comment.