Skip to content

Instantly share code, notes, and snippets.

View msaitoh's full-sized avatar

Masanobu SAITOH msaitoh

View GitHub Profile
From 442eebedb9800b7140f154235af573bc0ef95249 Mon Sep 17 00:00:00 2001
From: Kazuhiro Ito <[email protected]>
Date: Tue, 27 Jul 2021 19:36:37 +0900
Subject: [PATCH 1/4] Use unsigned integers to calculate hash
Overflow of signed integers is undefined bahavior.
---
cabin.c | 39 +++++++++++++++++-----------------
depot.c | 66 ++++++++++++++++++++++++++++-----------------------------
2 files changed, 52 insertions(+), 53 deletions(-)
@thomasbhatia
thomasbhatia / scapy_layer-_gtp.py
Created December 5, 2012 11:33
Scapy layer: GTP
## This file is not now part of Scapy
## Look iniqua.com for more informations
## ffranz <[email protected]>
## This program is published under a GPLv2 license
import time
import logging
from scapy.packet import *
from scapy.fields import *