Project

General

Profile

Feature #5639

want reentrant ether_aton_r and ether_ntoa_r

Added by Robert Mustacchi almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2015-02-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

ether_aton and ether_ntoa, while useful, are not safe to use from a library without risking the clobbering of a user's data. We should provide the reentrant versions in a way that matches other implementations.

#1

Updated by Electric Monk almost 6 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit ff3aea39f71c371be25b08deb9efed41f1c95983

commit  ff3aea39f71c371be25b08deb9efed41f1c95983
Author: Robert Mustacchi <rm@joyent.com>
Date:   2015-02-21T01:10:02.000Z

    5639 want reentrant ether_aton_r and ether_ntoa_r
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF