Comments (3)
That's another symptom, yes, as before #14 the return value seems to not have been checked.
from pysubnettree.
Thanks @dfn-certling ,
Our Segfault from #19 is back. This time being reproducible, I found the likely culprit.
Do you have a minimal reproducer to trigger this? I've tried reproducing it here on Debian 12 with Python 3.11 and in an Ubuntu 20.04 container, but no dice so far.
I understand you mainly suggest to regenerate the _wrap.cc
file and do a new release, but would prefer to be able to trigger the crash here, too.
from pysubnettree.
Ah, got it. Using a unicode string that cannot be converted to ASCII.
docker run --rm -it --entrypoint=/bin/bash python:3.11
root@495f2c2a5041:/# pip install pysubnettree
root@495f2c2a5041:/# python3 -c 'import SubnetTree; t = SubnetTree.SubnetTree(); "üüpps" in t'
Segmentation fault (core dumped)
from pysubnettree.
Related Issues (20)
- issue when installing with pip
- segmentation fault on bad cidr HOT 1
- Segmentation fault checking "large string" in tree HOT 1
- Segmentation fault in 0.29 - due to bogus cidr pointer? HOT 3
- Over scribing ASN to same net but distinct mask HOT 1
- swig can't find header file in new location HOT 4
- Segfault with python 3.6.10 and subnettree 0.33 HOT 12
- Is this package suitable for Windows? HOT 1
- Prefix lookups possible? HOT 1
- Issue When Installing HOT 2
- Very high memory usage with large sets HOT 2
- Add type annotations? HOT 3
- Error installing Newlines are not allowed
- Swig 4 issue HOT 6
- signal 11 during ip lookup HOT 1
- Automatic pypi upload via GitHub actions
- Install error on Debian HOT 2
- Thread safety HOT 1
- Semantics of lookup of CIDR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysubnettree.