Project

General

Profile

Actions

Bug #1314

closed

http_request_parse: clear errno before str_to_off_t

Added by Safari almost 16 years ago. Updated almost 7 years ago.

Status:
Obsolete
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

if earlier syscall sets errno to ERANGE,
http_request_parse does not detect between overflow and r == STR_OFF_T_MAX.


Files

http_request_parse-errno.patch (370 Bytes) http_request_parse-errno.patch Safari, 2007-08-23 08:30
Actions #1

Updated by jan almost 16 years ago

  • Status changed from New to Assigned

don't strtol() and stroll() reset the errno themself ?

Actions #2

Updated by Safari almost 16 years ago

System calls do not modify errno on successful call.

Actions #3

Updated by gstrauss almost 7 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
Actions #4

Updated by gstrauss almost 7 years ago

  • Status changed from Assigned to Obsolete
Actions

Also available in: Atom