Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault without warning, when layernumber is >2048 #22

Open
nmz787-intel opened this issue Apr 5, 2023 · 0 comments
Open

segfault without warning, when layernumber is >2048 #22

nmz787-intel opened this issue Apr 5, 2023 · 0 comments

Comments

@nmz787-intel
Copy link

This line of code is arbitrarily limiting the layernumber value to be no more than 2048. If a design has layer numbers higher than this (I had one which was layer 10000), the program crashes with a segfault.

#define MAXLAYERS 2048

#define MAXLAYERS 2048

in file libgdsto3d/gdsparse.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant