Bug 632555

Summary: valgrind reports errors in strncasecmp
Product: [Fedora] Fedora Reporter: David Tardon <dtardon>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fweimer, jakub, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-10 11:39:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
reproducer
none
valgrind log none

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 ***