mterry / 321db

Project II for 60-321: A RDBMS built using C and CURSES
1 stars 0 forks source link

Null pointer bug from get_field_buffer() #14

Closed mterry closed 13 years ago

mterry commented 13 years ago

For some reason, field_buffer() from form.h is throwing me a null pointer for accessing my field, and that null pointer is causing the rest of the program to fail.

mterry commented 13 years ago

Tracking down the bug: field[0] and field[1] are no longer returning a NULL pointer, and field[0] now returns something resembling the entered text, but there's a lot of garbage data before and after the entered string.

mterry commented 13 years ago

Fixed the null pointer bug, the freeing field bug, and the main menu rendering issue. Closed by 100e312cac598d3315ac8213a2a579c65d5e01f1, gh-15, gh-16.