The fortran interface to adj_adjointer_to_html doesn't return an error if the name is > ADJ_NAME_LEN

Bug #816903 reported by Patrick Farrell
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simon Funke

Bug Description

If the developer supplies a filename which is longer than ADJ_NAME_LEN, then we should return an error code, rather than silently truncating it.

Changed in libadjoint:
assignee: nobody → Simon Funke (simon-funke)
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Patrick Farrell (pefarrell) wrote :

Actually, for this, we shouldn't assign an artificial name length limit; file names can get quite long indeed.
I think this is only imposed at the Fortran interface layer, though.

Revision history for this message
Simon Funke (simon-funke) wrote :

fixed in revision 267 in the lp:~simon-funke/libadjoint/libadjoint_improved_html_output branch.

@patrick: could you review this code please.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.