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

Replace use of PATH_MAX by asprintf (C11) #14

Open
mkoeppe opened this issue Aug 24, 2018 · 1 comment
Open

Replace use of PATH_MAX by asprintf (C11) #14

mkoeppe opened this issue Aug 24, 2018 · 1 comment

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Aug 24, 2018

... suggested by Jerome BENOIT for Debian

@jgmbenoit
Copy link

This issue was reported to Debian: bugreport #915571 .
This actually concerns the way filenames are managed in src/util/{gensymm,genmodel,print,output).c.
The reporter suggests a quick fix that consiste to replace the strcat and strcpy calls by their n versions.
Using asprintf is certainly better.

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

2 participants