el_source(3): wrong usage of fgetln(3).

Issue #94 resolved
Takehiko NOZAKI repo owner created an issue

el_sources(3) assumes fgetln(3) returns nul-terminate string, it is completely wrong. NetBSD-6's fgetln(3) use getline(3) internally so never crash, but OpenBSD and other OS doesn't, spo it won't work.

Comments (2)

  1. Takehiko NOZAKI reporter

    this bug comes from recent libedit i18n patch, the patch is very low quarity and many bugs are introduced, sigh;-<

  2. Log in to comment