#12282: Fix strcmp() will NULL argument in termcap library
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: defect | Status: needs_info
Priority: blocker | Milestone: sage-4.8
Component: packages | Keywords:
Work_issues: | Upstream: Not yet reported upstream; Will do
shortly.
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Changes (by zimmerma):
* status: new => needs_info
Comment:
Jeroen, I cannot reproduce this issue:
{{{
tiramisu% cat tgetent_test.c
#include <termcap.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
char* buf = malloc(100000);
tgetent(buf, "dumb");
}
tiramisu% gcc tgetent_test.c -o tgetent_test -ltermcap
tiramisu% printenv | grep TERM
TERMCAP=1
tiramisu% ./tgetent_test
tiramisu%
}}}
Paul
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12282#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.