Skip to contentSkip to conversation

Error in 'udev'

DISCUSSION Andreas Schindler 2 participants 2 messages Apr 9, 2005

lore
Share & tools
lore
#0 lore raw

There is IMHO an error in the rules parsing code of 'udev'. The error shows up parsing multi-line rules. Investigating the udev_rules_parse code i found a dereferencing error. Please look at the attached mini-tarball. I include a rules file that triggers the error.

Regards,
Andreas

--

Dr. Andreas G. Schindler        c/o Alpha Zero One Computersysteme GmbH
[email protected]                Frankfurter Str. 141, D-63303 Dreieich
Tel +49 6103 57187 21           Germany
#1 lore raw
Quoted 5 lines · Andreas Schindler

There is IMHO an error in the rules parsing code of 'udev'. The error shows up parsing multi-line rules. Investigating the udev_rules_parse code i found a dereferencing error. Please look at the attached mini-tarball. I include a rules file that triggers the error.

I can't reproduce this. Your rule is processed as expected here. What version of udev do you use?

Thanks,
Kay

Btw:
o Produce the diff with "diff -u -p" and send only the context-diff, no need to send the changed and original files.
o Please don't attach compressed stuff. It's a pain to look at. Just attach multiple files.
o Mention the version of udev used to create the patch.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel