Missing line probably source of bugs #1

Closed
opened 2016-12-13 13:12:49 +00:00 by mercier · 1 comment
mercier commented 2016-12-13 13:12:49 +00:00 (Migrated from git.metabarcoding.org)

In the file ecotax.c, in the function readnext_ecotaxon, line 166, the taxon name is not flagged with a 0 at the end after using strncpy.
This line should be added:

taxon->name[raw->name_length] = 0;

In the file ``ecotax.c``, in the function ``readnext_ecotaxon``, line 166, the taxon name is not flagged with a 0 at the end after using ``strncpy``. This line should be added: ```taxon->name[raw->name_length] = 0;```
mercier commented 2017-11-21 12:10:25 +00:00 (Migrated from git.metabarcoding.org)

closed via commit 495da2165c

closed via commit 495da2165c0d6b14442752172de4d2f57951174e
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: obitools/ROBITaxonomy#1
No description provided.