-
Notifications
You must be signed in to change notification settings - Fork 77
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
Precise strdup
#1141
Comments
@nathanschmidt will tackle this as it is quite related to his string domain work. |
Now that the thesis is done, will this still be worked on or not? |
Sorry I haven't found the time to do so yet. I'll try to do this next week, let me know if that is soon enough |
If you can get around to it next week, I think that is timely enough; However, please don't feel obligated to do it if you don't want to, as the thesis is officially over now. |
After some more digging into silver searcher it appears that |
Nathan has finished his thesis now and will sadly not have time to work on this, so I unassigned him. |
Currently
strdup
(andstrndup
) return an unknown pointer, which can make things very imprecise. Instead we should:malloc
.strndup
should additionally only have maximum lengthn
and copy as long prefix.The text was updated successfully, but these errors were encountered: