Bug 632555 - valgrind reports errors in strncasecmp
Summary: valgrind reports errors in strncasecmp
Keywords:
Status: CLOSED DUPLICATE of bug 626470
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-10 11:12 UTC by David Tardon
Modified: 2016-11-24 15:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-10 11:39:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
reproducer (267 bytes, text/plain)
2010-09-10 11:12 UTC, David Tardon
no flags Details
valgrind log (1.65 KB, text/plain)
2010-09-10 11:12 UTC, David Tardon
no flags Details

Description David Tardon 2010-09-10 11:12:15 UTC
Created attachment 446488 [details]
reproducer

Description of problem:
valgrind reports "Invalid read" and "Conditional jump or move depends on uninitialised value(s)" for trivial use of strncasecmp.

Version-Release number of selected component (if applicable):
glibc-2.12.90-8.x86_64

How reproducible:
always

Steps to Reproduce:
1. get the attached strncasecmp.c
2. gcc -o strncasecmp -g -O0 strncasecmp.c
3. valgrind --track-origins=yes ./strncasecmp
  
Additional info:
It is OK with glibc-2.12.90-6.x86_64

Comment 1 David Tardon 2010-09-10 11:12:43 UTC
Created attachment 446489 [details]
valgrind log

Comment 2 Andreas Schwab 2010-09-10 11:39:45 UTC

*** This bug has been marked as a duplicate of bug 626470 ***


Note You need to log in before you can comment on or make changes to this bug.